Me277 — autorefine_triangle_soup parallel-vs-sequential dedup: multi-triangle SI pool (Branch 8)

§12.14 mesh defects (sub-class: autorefine_dedup_parallel / TBB-dispatch)

spec-violation

Sources

Description

A fan of four mutually intersecting triangles arranged radially. Each adjacent pair produces a crossing segment, building a pool of intersection points that motivates the deduplication pass. Branch 8 dispatches parallel deduplication (via TBB) or sequential deduplication depending on build configuration.

Reproducer recipe

four radially arranged triangles each crossing its neighbor; multiple SI pairs; near-coincident intersection points between pair-sets.

Expected kernel behavior

Branch 8 fires after all intersection points are gathered; deduplication runs (parallel via TBB if available, otherwise sequential); duplicate-index pairs collapsed.

Expected validation

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1{
2  "vertices": [
3    [
4      -2.0,
5      0.0,
6      -0.5
7    ],
8    [
9      2.0,
10      0.0,
11      -0.5
12    ],
13    [
14      0.0,
15      0.0,
16      0.5
17    ],
18    [
19      0.0,
20      -2.0,
21      -0.5
22    ],
23    [
24      0.0,
25      2.0,
26      -0.5
27    ],
28    [
29      0.0,
30      0.0,
31      0.5
32    ],
33    [
34      -1.5,
35      -1.0,
36      -0.5
37    ],
38    [
39      1.5,
40      1.0,
41      -0.5
42    ],
43    [
44      0.0,
45      0.0,
46      0.5
47    ],
48    [
49      1.5,
50      -1.0,
51      -0.5
52    ],
53    [
54      -1.5,
55      1.0,
56      -0.5
57    ],
58    [
59      0.0,
60      0.0,
61      0.5
62    ]
63  ],
64  "triangles": [
65    [
66      0,
67      1,
68      2
69    ],
70    [
71      3,
72      4,
73      5
74    ],
75    [
76      6,
77      7,
78      8
79    ],
80    [
81      9,
82      10,
83      11
84    ]
85  ],
86  "metadata": {
87    "id": "Me277",
88    "schema_version": 0,
89    "defect_class": "autorefine_dedup_parallel",
90    "title": "autorefine_triangle_soup parallel-vs-sequential dedup: multi-triangle SI pool",
91    "assertions": [
92      {
93        "kind": "triangles_self_intersect",
94        "triangles": [
95          0,
96          1
97        ]
98      },
99      {
100        "kind": "triangles_self_intersect",
101        "triangles": [
102          0,
103          2
104        ]
105      },
106      {
107        "kind": "vertex_pair_distance_lt",
108        "pair": [
109          2,
110          5
111        ],
112        "lt": 1e-12
113      },
114      {
115        "kind": "vertex_pair_distance_lt",
116        "pair": [
117          2,
118          8
119        ],
120        "lt": 1e-12
121      },
122      {
123        "kind": "vertex_pair_distance_lt",
124        "pair": [
125          2,
126          11
127        ],
128        "lt": 1e-12
129      }
130    ]
131  }
132}