-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now the package can also read med files exported from Gmsh. There is some small differences how element sets are internally written to .h5 file and also looks that node / element id numbers are not explicitly defined by Gmesh. Closes issue #16.
- Loading branch information
Showing
4 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file is a part of JuliaFEM. | ||
# License is MIT: see https://github.com/JuliaFEM/AsterReader.jl/blob/master/LICENSE | ||
|
||
using FEMBase, Test, AsterReader | ||
using AsterReader: aster_parse_nodes, aster_read_mesh, MEDFile, get_element_sets | ||
|
||
datadir = first(splitext(basename(@__FILE__))) | ||
|
||
@testset "test med file exported from gmsh, issue #16" begin | ||
mesh_file = joinpath(datadir, "t1.med") | ||
mesh = aster_read_mesh(mesh_file) | ||
end |
Binary file not shown.