mesh-examples/12-14-mesh/Me623.mesh.json
Sources
- MeshFix `Basic_TMesh.removeRegion` Branch 4 (*region_traversal_order*: `for (n = toRemove.tail()
- n != NULL
- n = n->prev())` @ line 1210)
- `MESH_HEAL_COVERAGE.md`.
Description
Five triangles forming a connected fan from center C=(0,0,0) with all rim vertices within L=3.0. BFS enqueues them in FIFO order (t0→t4), but the tail-traversal loop processes them in reverse (t4→t0), triggering Branch 4 for each member after the first. The reverse-FIFO order ensures consistent unlink sequencing.
Reproducer recipe
5-triangle fan around c=(0,0,0); all rim vertices dist <= sqrt(5)~2.24 from C; L=3.0; all in removal region. Assert euler V=7, E=11, F=5, chi=1.
Expected kernel behavior
Branch 4 fires for each triangle in the multi-member removal region; tail-traversal processes them in deterministic reverse-FIFO order.
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 2.0, 10 0.0, 11 0.0 12 ], 13 [ 14 1.0, 15 2.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 2.0, 21 0.0 22 ], 23 [ 24 -2.0, 25 0.0, 26 0.0 27 ], 28 [ 29 -1.0, 30 -2.0, 31 0.0 32 ], 33 [ 34 1.0, 35 -2.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 2, 48 3 49 ], 50 [ 51 0, 52 3, 53 4 54 ], 55 [ 56 0, 57 4, 58 5 59 ], 60 [ 61 0, 62 5, 63 6 64 ] 65 ], 66 "metadata": { 67 "id": "Me623", 68 "schema_version": 0, 69 "defect_class": "radial_region_removal", 70 "title": "removeRegion region_traversal_order: 5-triangle fan from C=(0,0,0) all within L=3.0; BFS enqueues t0\u2192t4 FIFO, tail-traversal processes in reverse order (Branch 4)", 71 "assertions": [ 72 { 73 "kind": "edge_shared_by_n_triangles", 74 "edge": [ 75 0, 76 2 77 ], 78 "n": 2 79 }, 80 { 81 "kind": "edge_shared_by_n_triangles", 82 "edge": [ 83 0, 84 3 85 ], 86 "n": 2 87 }, 88 { 89 "kind": "edge_shared_by_n_triangles", 90 "edge": [ 91 0, 92 4 93 ], 94 "n": 2 95 }, 96 { 97 "kind": "edge_shared_by_n_triangles", 98 "edge": [ 99 0, 100 5 101 ], 102 "n": 2 103 }, 104 { 105 "kind": "edge_shared_by_n_triangles", 106 "edge": [ 107 0, 108 1 109 ], 110 "n": 1 111 }, 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 0, 116 6 117 ], 118 "n": 1 119 }, 120 { 121 "kind": "edge_shared_by_n_triangles", 122 "edge": [ 123 1, 124 2 125 ], 126 "n": 1 127 }, 128 { 129 "kind": "edge_shared_by_n_triangles", 130 "edge": [ 131 2, 132 3 133 ], 134 "n": 1 135 }, 136 { 137 "kind": "edge_shared_by_n_triangles", 138 "edge": [ 139 3, 140 4 141 ], 142 "n": 1 143 }, 144 { 145 "kind": "edge_shared_by_n_triangles", 146 "edge": [ 147 4, 148 5 149 ], 150 "n": 1 151 }, 152 { 153 "kind": "edge_shared_by_n_triangles", 154 "edge": [ 155 5, 156 6 157 ], 158 "n": 1 159 }, 160 { 161 "kind": "vertex_pair_distance_lt", 162 "pair": [ 163 1, 164 0 165 ], 166 "lt": 3.0 167 }, 168 { 169 "kind": "vertex_pair_distance_lt", 170 "pair": [ 171 2, 172 0 173 ], 174 "lt": 3.0 175 }, 176 { 177 "kind": "vertex_pair_distance_lt", 178 "pair": [ 179 3, 180 0 181 ], 182 "lt": 3.0 183 }, 184 { 185 "kind": "vertex_pair_distance_lt", 186 "pair": [ 187 4, 188 0 189 ], 190 "lt": 3.0 191 }, 192 { 193 "kind": "vertex_pair_distance_lt", 194 "pair": [ 195 5, 196 0 197 ], 198 "lt": 3.0 199 }, 200 { 201 "kind": "vertex_pair_distance_lt", 202 "pair": [ 203 6, 204 0 205 ], 206 "lt": 3.0 207 }, 208 { 209 "kind": "euler_characteristic", 210 "v": 7, 211 "e": 11, 212 "f": 5, 213 "chi": 1 214 } 215 ] 216 } 217}