mesh-examples/12-14-mesh/Me453.mesh.json
Sources
- MeshFix `checkAndRepair::removeSmallestComponents@L861` Branch 4 (*ADJACENT_TRIANGLE_T3_AREA*: `s = t->t3()
- if (s != NULL && !IS_BIT(s, 5))`)
- `MESH_HEAL_COVERAGE.md`.
Description
Four-triangle tetrahedral patch (component A); BFS requires t3-adjacency to reach all neighbors. Interior edges (v1,v3), (v2,v3), (v0,v3) each n=2. Micro-triangle (component B, area ≈ 5e-5) at (30,30) is disconnected from t0.
Reproducer recipe
v0-v3 tetrahedron base+apex; t0-t3 four faces; micro-tri v4-v6 at (30,30,0) as t4; assert_triangle_not_reachable_from(t4,t0); assert_triangle_area_lt(t4,1e-3); interior edges n=2.
Expected kernel behavior
Branch 4 fires; s=t->t3() provides the unvisited third-edge neighbor; component B satisfies pa < eps_area and is unlinked.
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 1.0, 21 1.0 22 ], 23 [ 24 30.0, 25 30.0, 26 0.0 27 ], 28 [ 29 30.01, 30 30.0, 31 0.0 32 ], 33 [ 34 30.0, 35 30.01, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 3 44 ], 45 [ 46 1, 47 2, 48 3 49 ], 50 [ 51 2, 52 0, 53 3 54 ], 55 [ 56 0, 57 2, 58 1 59 ], 60 [ 61 4, 62 5, 63 6 64 ] 65 ], 66 "metadata": { 67 "id": "Me453", 68 "schema_version": 0, 69 "defect_class": "disconnected_components", 70 "title": "removeSmallestComponents area ADJACENT_TRIANGLE_T3_AREA: BFS expands via t->t3() neighbor; disconnected micro-component below eps_area", 71 "assertions": [ 72 { 73 "kind": "triangle_not_reachable_from", 74 "target": 4, 75 "source": 0 76 }, 77 { 78 "kind": "triangle_area_lt", 79 "triangle": 4, 80 "lt": 0.001 81 }, 82 { 83 "kind": "edge_shared_by_n_triangles", 84 "edge": [ 85 1, 86 3 87 ], 88 "n": 2 89 }, 90 { 91 "kind": "edge_shared_by_n_triangles", 92 "edge": [ 93 2, 94 3 95 ], 96 "n": 2 97 }, 98 { 99 "kind": "edge_shared_by_n_triangles", 100 "edge": [ 101 0, 102 3 103 ], 104 "n": 2 105 } 106 ] 107 } 108}