mesh-examples/12-14-mesh/Me452.mesh.json
Sources
- MeshFix `checkAndRepair::removeSmallestComponents@L861` Branch 3 (*ADJACENT_TRIANGLE_T2_AREA*: `s = t->t2()
- if (s != NULL && !IS_BIT(s, 5))`)
- `MESH_HEAL_COVERAGE.md`.
Description
Three-triangle fan (component A) sharing center vertex v0; BFS propagates via t2-adjacency (second edge). Interior edges (v0,v2) and (v0,v3) each n=2. Micro-triangle (component B, area ≈ 5e-5) at (20,20) is disconnected from t0.
Reproducer recipe
v0 center, v1-v4 fan; t0=(v0,v1,v2), t1=(v0,v2,v3), t2=(v0,v3,v4); micro-tri v5-v7 at (20,20); assert_triangle_not_reachable_from(t3,t0); assert_triangle_area_lt(t3,1e-3); edge_shared(v0,v2,2); edge_shared(v0,v3,2).
Expected kernel behavior
Branch 3 fires; s=t->t2() yields unvisited fan neighbor; component B area triggers pa < eps_area removal.
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 -0.5, 20 1.0, 21 0.0 22 ], 23 [ 24 -1.0, 25 0.0, 26 0.0 27 ], 28 [ 29 20.0, 30 20.0, 31 0.0 32 ], 33 [ 34 20.01, 35 20.0, 36 0.0 37 ], 38 [ 39 20.0, 40 20.01, 41 0.0 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 1, 48 2 49 ], 50 [ 51 0, 52 2, 53 3 54 ], 55 [ 56 0, 57 3, 58 4 59 ], 60 [ 61 5, 62 6, 63 7 64 ] 65 ], 66 "metadata": { 67 "id": "Me452", 68 "schema_version": 0, 69 "defect_class": "disconnected_components", 70 "title": "removeSmallestComponents area ADJACENT_TRIANGLE_T2_AREA: BFS expands via t->t2() neighbor; disconnected micro-component below eps_area", 71 "assertions": [ 72 { 73 "kind": "triangle_not_reachable_from", 74 "target": 3, 75 "source": 0 76 }, 77 { 78 "kind": "triangle_area_lt", 79 "triangle": 3, 80 "lt": 0.001 81 }, 82 { 83 "kind": "edge_shared_by_n_triangles", 84 "edge": [ 85 0, 86 2 87 ], 88 "n": 2 89 }, 90 { 91 "kind": "edge_shared_by_n_triangles", 92 "edge": [ 93 0, 94 3 95 ], 96 "n": 2 97 } 98 ] 99 } 100}