mesh-examples/12-14-mesh/Me226.mesh.json
Sources
- MeshFix `Basic_TMesh.eulerUpdate` Branch 7 (*boundary_loop_traversal*: `IS_BIT(v, 5)`, `nextOnBoundary()`)
- `MESH_HEAL_COVERAGE.md`.
Description
Two completely disconnected triangles, each with its own boundary loop (3 boundary edges each). eulerUpdate must seed nextOnBoundary() traversal twice — once per loop — counting n_boundaries=2.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(0.5,1,0); v3=(5,0,0), v4=(6,0,0), v5=(5.5,1,0); t0=(v0,v1,v2), t1=(v3,v4,v5).
Expected kernel behavior
nextOnBoundary() traversal seeds twice; n_boundaries=2.
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 1.0, 16 0.0 17 ], 18 [ 19 5.0, 20 0.0, 21 0.0 22 ], 23 [ 24 6.0, 25 0.0, 26 0.0 27 ], 28 [ 29 5.5, 30 1.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 3, 42 4, 43 5 44 ] 45 ], 46 "metadata": { 47 "id": "Me226", 48 "schema_version": 0, 49 "defect_class": "open_boundary", 50 "title": "eulerUpdate_boundary_loop_traversal: two boundary loops require nextOnBoundary() twice", 51 "assertions": [ 52 { 53 "kind": "triangle_not_reachable_from", 54 "target": 1, 55 "source": 0 56 }, 57 { 58 "kind": "edge_shared_by_n_triangles", 59 "edge": [ 60 0, 61 1 62 ], 63 "n": 1 64 }, 65 { 66 "kind": "edge_shared_by_n_triangles", 67 "edge": [ 68 1, 69 2 70 ], 71 "n": 1 72 }, 73 { 74 "kind": "edge_shared_by_n_triangles", 75 "edge": [ 76 0, 77 2 78 ], 79 "n": 1 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 3, 85 4 86 ], 87 "n": 1 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 4, 93 5 94 ], 95 "n": 1 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 3, 101 5 102 ], 103 "n": 1 104 }, 105 { 106 "kind": "hole_boundary", 107 "loop": [ 108 0, 109 1, 110 2 111 ] 112 }, 113 { 114 "kind": "hole_boundary", 115 "loop": [ 116 3, 117 4, 118 5 119 ] 120 } 121 ] 122 } 123}