Skip to content

Commit 9c374e8

Browse files
committed
add test for reading .ele files
1 parent 4f308b5 commit 9c374e8

6 files changed

Lines changed: 993 additions & 1 deletion

File tree

src/io.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $(TYPEDSIGNATURES)
5555
- format version 2.1: shortened version only with cells, cellnodes, cellregions, bfacenodes, bfaceregions
5656
- format version 2.2: like 2.1, but additional info on cell and node partitioning. Edge partitioning
5757
is not stored in the file and may be re-established by [`induce_edge_partitioning!`](@ref).
58-
- "*.ele": TetGen output file (requires presence of *.node and *.face file)
58+
- "*.ele": TetGen output format (requires presence of *.ele, *.node and *.face file)
5959
- "*.geo": gmsh geometry description (requires `using Gmsh`)
6060
- "*.msh": gmsh mesh (requires `using Gmsh`)
6161
- "*.dom": WIAS-TeSCA dom format

test/cube.1.edge

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
48 1
2+
0 22 42 -1
3+
1 15 66 -1
4+
2 6 41 -1
5+
3 57 130 -1
6+
4 5 74 -1
7+
5 25 150 -1
8+
6 1 83 -1
9+
7 0 126 -1
10+
8 38 6 -1
11+
9 21 38 -1
12+
10 16 112 -1
13+
11 3 129 -1
14+
12 3 154 -1
15+
13 39 75 -1
16+
14 7 82 -1
17+
15 11 114 -1
18+
16 4 149 -1
19+
17 23 139 -1
20+
18 17 87 -1
21+
19 2 117 -1
22+
20 19 51 -1
23+
21 1 72 -1
24+
22 2 98 -1
25+
23 20 76 -1
26+
24 41 19 -1
27+
25 42 6 -1
28+
26 51 7 -1
29+
27 4 134 -1
30+
28 66 7 -1
31+
29 72 25 -1
32+
30 74 22 -1
33+
31 75 3 -1
34+
32 76 4 -1
35+
33 82 20 -1
36+
34 83 57 -1
37+
35 87 1 -1
38+
36 98 39 -1
39+
37 112 0 -1
40+
38 114 0 -1
41+
39 117 21 -1
42+
40 126 17 -1
43+
41 129 15 -1
44+
42 130 2 -1
45+
43 134 16 -1
46+
44 139 5 -1
47+
45 149 23 -1
48+
46 150 5 -1
49+
47 154 11 -1
50+
# Generated by /home/fuhrmann/Wias/work/tetgen/codeberg/TestingDrafts/src/../tetgen-v161/build/tetgen -pqa0.005 /home/fuhrmann/Wias/work/tetgen/codeberg/TestingDrafts/src/../quarry/cube.smesh

0 commit comments

Comments
 (0)