mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Finishing methods for connectivity and coordinates. Writing vertices and connectivity to statepoint file Loading vertices and connectivity from statepoint. Correcting string repr Correcting connectivity length Adding method to write the mesh elements to VTK with data applied. Updating hdf5 output to include element types Adding support for hex elements when writing unstructured meshes to VTK Adding simple check for VTK writing if the module is present Removing centroids from the statepoint file and Python UM class Updating test check for vtk Adding warning for skipped elements. Correcting element type Adding warning for skipped elements. Using an enum to indicate element types for readability Updating to element types on the Python side as well Handling integer data applied to VTK files. Doc updates for Python API UM class Incrementing statepoint version number Refactor of unstructured mesh tests to extract model Updating inputs for floating point surface coefficients Adding test for hexes and refactoring comparison funcs Updating reference mesh files Adding reference file for the hexes test case Passing test for hex mesh Adding inputs for the hexes test case. Adding hex test meshes. Skipping hex mesh test if not built with libmesh Adding small VTK write tests for unstructured mesh. Allowing file path to be a pathlib path. Adding skips if libmesh or dagmc not enabled Adding a few comments to test file Changing where conversion to str happens for mesh filename. Setting output to false. Removing VTK check from unstructured mesh regression test Removnig VTK test files for regression test -- too large Adding __init__.py file for pytest
292 lines
4.7 KiB
Text
292 lines
4.7 KiB
Text
# vtk DataFile Version 5.1
|
|
vtk output
|
|
ASCII
|
|
DATASET UNSTRUCTURED_GRID
|
|
POINTS 58 double
|
|
-0.02593964576 -1 -1.1195739536 -0.40239958217 -0.40962166746 -1.9256035383 -1 0.02593964576 -1.1195739536
|
|
-0.2248833639 0.23189144433 -1.2841109811 0.02593964576 1 -1.1195739536 1 -0.02593964576 -1.1195739536
|
|
-0.042928712675 0.066425810853 -0.54270728017 -1 1 -1.5 -1 1 -0.5
|
|
-0.49265312381 0.49332495053 -1.9656359509 -0.02608137991 -1 1.121521147 0.30281888252 -0.30293622513 1.8067963894
|
|
1 -0.02608137991 1.121521147 -0.23236342389 0.26314805583 1.2867556783 0.074337770194 0.074337770194 2.5
|
|
-0.40005770996 -0.36909660956 1.8768871762 -0.4896743493 0.49451064621 1.952829049 -1 1 1.5
|
|
0.02608137991 1 1.121521147 -1 1 0.5 -0.038567136385 0.14628887118 0.55111724874
|
|
-1 0.02608137991 1.121521147 0 -1 -2.5 0.37543954218 -0.36967061971 -1.8691105401
|
|
1 -1 -2.5 0.074337770194 -0.074337770194 -2.5 1 0 -2.5
|
|
0.4135797166 0.38351746262 -1.9274856063 1 -1 -1.5 -1 0 -2.5
|
|
-1 -1 -1.5 -1 -1 -2.5 -1 0 2.5
|
|
-1 1 2.5 0 1 2.5 0.46519182209 0.49356920409 1.95286052
|
|
0 -1 2.5 -1 -1 1.5 -1 -1 2.5
|
|
1 -1 2.5 1 -1 1.5 1 0 2.5
|
|
1 1 2.5 1 1 1.5 0 1 -2.5
|
|
-1 1 -2.5 1 -1 -0.5 1 1 -0.5
|
|
0.038669824604 1 0.0046021677516 -1 -1 0.5 -0.038669824604 -1 0.0046021677516
|
|
1 1 0.5 -1 0.038669824604 0.0046021677516 1 -0.038669824604 0.0046021677516
|
|
1 1 -2.5 1 1 -1.5 1 -1 0.5
|
|
-1 -1 -0.5
|
|
CELLS 155 616
|
|
OFFSETS vtktypeint64
|
|
0 4 8 12 16 20 24 28 32
|
|
36 40 44 48 52 56 60 64 68
|
|
72 76 80 84 88 92 96 100 104
|
|
108 112 116 120 124 128 132 136 140
|
|
144 148 152 156 160 164 168 172 176
|
|
180 184 188 192 196 200 204 208 212
|
|
216 220 224 228 232 236 240 244 248
|
|
252 256 260 264 268 272 276 280 284
|
|
288 292 296 300 304 308 312 316 320
|
|
324 328 332 336 340 344 348 352 356
|
|
360 364 368 372 376 380 384 388 392
|
|
396 400 404 408 412 416 420 424 428
|
|
432 436 440 444 448 452 456 460 464
|
|
468 472 476 480 484 488 492 496 500
|
|
504 508 512 516 520 524 528 532 536
|
|
540 544 548 552 556 560 564 568 572
|
|
576 580 584 588 592 596 600 604 608
|
|
612 616
|
|
CONNECTIVITY vtktypeint64
|
|
0 1 2 3 4 3 5 6 7
|
|
4 8 3 7 3 2 9 8 3
|
|
4 6 10 11 12 13 14 13 15
|
|
16 17 13 18 16 19 18 13 20
|
|
10 13 21 15 22 1 0 23 22
|
|
24 25 23 25 1 3 9 26 23
|
|
5 27 24 28 26 23 0 1 3
|
|
23 29 30 31 1 22 31 30 1
|
|
2 3 1 9 29 2 1 9 22
|
|
0 28 23 32 15 21 16 14 13
|
|
11 15 33 17 34 16 33 34 32
|
|
16 34 16 18 35 10 11 13 15
|
|
18 13 12 35 36 11 10 15 36
|
|
37 38 15 32 38 37 15 32 21
|
|
17 16 36 10 37 15 36 39 40
|
|
11 41 40 39 11 41 12 11 35
|
|
17 21 13 16 10 13 12 20 12
|
|
13 11 35 14 13 16 35 34 17
|
|
18 16 42 34 43 35 41 12 40
|
|
11 14 41 11 35 42 41 14 35
|
|
0 3 5 23 0 5 3 6 44
|
|
4 9 27 29 2 30 1 44 45
|
|
29 9 29 45 7 9 0 46 5
|
|
6 47 48 4 6 0 3 2 6
|
|
4 5 3 27 49 10 50 20 8
|
|
2 3 6 51 18 48 20 49 50
|
|
52 20 19 13 21 20 51 53 12
|
|
20 19 48 18 20 25 3 1 23
|
|
7 4 3 9 25 3 23 27 44
|
|
4 7 9 25 23 26 27 54 55
|
|
44 27 54 26 55 27 18 12 13
|
|
20 14 16 34 35 19 21 52 20
|
|
30 2 0 1 22 25 29 1 5
|
|
23 3 27 25 26 44 27 22 29
|
|
31 1 54 44 26 27 25 44 9
|
|
27 22 28 24 23 26 5 55 27
|
|
25 24 26 23 22 25 1 23 25
|
|
44 29 9 25 29 1 9 48 6
|
|
53 20 8 4 48 6 10 40 56
|
|
12 10 40 12 11 17 19 18 13
|
|
30 57 0 2 25 9 3 27 7
|
|
8 2 3 26 28 5 23 29 7
|
|
2 9 28 0 5 23 37 10 49
|
|
21 49 50 57 52 56 12 53 20
|
|
10 12 56 20 43 18 12 35 32
|
|
37 21 15 14 11 13 35 19 52
|
|
8 48 19 52 48 20 41 39 36
|
|
11 50 6 52 20 46 53 5 6
|
|
4 3 9 27 44 7 45 9 55
|
|
47 4 5 28 0 46 5 8 52
|
|
2 6 57 2 52 6 50 56 53
|
|
20 10 56 50 20 57 50 0 6
|
|
37 10 21 15 33 32 17 16 34
|
|
18 43 35 57 52 50 6 51 48
|
|
47 53 18 16 13 35 50 56 46
|
|
53 14 36 32 15 14 11 36 15
|
|
17 21 19 13 10 21 13 20 51
|
|
12 18 20 50 53 46 6 14 15
|
|
32 16 42 43 41 35 14 41 36
|
|
11 49 52 21 20 36 40 10 11
|
|
47 53 48 6 49 21 10 20 21
|
|
15 13 16 51 48 53 20 55 5
|
|
4 27 44 55 4 27 47 4 5
|
|
6 8 48 52 6 47 5 53 6
|
|
50 53 6 20 57 0 2 6 50
|
|
46 0 6 52 6 48 20 42 14
|
|
34 35 43 18 51 12 41 43 12
|
|
35 22 30 0 1 14 32 34 16
|
|
36 38 32 15
|
|
CELL_TYPES 154
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
10
|
|
|
|
CELL_DATA 154
|
|
FIELD FieldData 1
|
|
ids 1 154 double
|
|
0 1 2 3 4 5 6 7 8
|
|
9 10 11 12 13 14 15 16 17
|
|
18 19 20 21 22 23 24 25 26
|
|
27 28 29 30 31 32 33 34 35
|
|
36 37 38 39 40 41 42 43 44
|
|
45 46 47 48 49 50 51 52 53
|
|
54 55 56 57 58 59 60 61 62
|
|
63 64 65 66 67 68 69 70 71
|
|
72 73 74 75 76 77 78 79 80
|
|
81 82 83 84 85 86 87 88 89
|
|
90 91 92 93 94 95 96 97 98
|
|
99 100 101 102 103 104 105 106 107
|
|
108 109 110 111 112 113 114 115 116
|
|
117 118 119 120 121 122 123 124 125
|
|
126 127 128 129 130 131 132 133 134
|
|
135 136 137 138 139 140 141 142 143
|
|
144 145 146 147 148 149 150 151 152
|
|
153
|