mesh-examples/12-14-mesh/Me713.mesh.json
Sources
- MeshFix `Basic_TMesh.removeVertices` Branch 4 (*topology_invalidation*: `d_boundaries = d_handles = d_shells = 1
- `)
- `MESH_HEAL_COVERAGE.md`.
Description
Closed tetrahedron (v0-v3, 4 triangles, 6 edges, chi=2) plus isolated vertex v4=(10,10,10). removeVertices removes v4, the removal count is non-zero, and the post-loop dirty-flag assignment fires, marking all cached topology metrics for recomputation.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(0.5,0.866,0), v3=(0.5,0.289,0.816) — tetrahedron; v4=(10,10,10) isolated; 4 triangles; all 6 tetrahedron edges n=2; isolated_vertex(v4); euler V=4,E=6,F=4,chi=2.
Expected kernel behavior
Branch 4 fires after v4 is removed; d_boundaries, d_handles, and d_shells are all set to 1; cached topology is invalidated.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 0.0, 5 0.0, 6 0.0 7 ], 8 [ 9 1.0, 10 0.0, 11 0.0 12 ], 13 [ 14 0.5, 15 0.866, 16 0.0 17 ], 18 [ 19 0.5, 20 0.289, 21 0.816 22 ], 23 [ 24 10.0, 25 10.0, 26 10.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 1, 38 3 39 ], 40 [ 41 1, 42 2, 43 3 44 ], 45 [ 46 0, 47 2, 48 3 49 ] 50 ], 51 "metadata": { 52 "id": "Me713", 53 "schema_version": 0, 54 "defect_class": "isolated_vertex", 55 "title": "Basic_TMesh.removeVertices topology_invalidation: d_boundaries=d_handles=d_shells=1 after isolated v4 removed (Branch 4)", 56 "assertions": [ 57 { 58 "kind": "edge_shared_by_n_triangles", 59 "edge": [ 60 0, 61 1 62 ], 63 "n": 2 64 }, 65 { 66 "kind": "edge_shared_by_n_triangles", 67 "edge": [ 68 1, 69 2 70 ], 71 "n": 2 72 }, 73 { 74 "kind": "edge_shared_by_n_triangles", 75 "edge": [ 76 0, 77 2 78 ], 79 "n": 2 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 0, 85 3 86 ], 87 "n": 2 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 1, 93 3 94 ], 95 "n": 2 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 2, 101 3 102 ], 103 "n": 2 104 }, 105 { 106 "kind": "isolated_vertex", 107 "vertex": 4 108 }, 109 { 110 "kind": "euler_characteristic", 111 "v": 4, 112 "e": 6, 113 "f": 4, 114 "chi": 2 115 } 116 ] 117 } 118}