Me189 — split_edge_list_appends: V/E/T appendHead adds new vertex, edges, triangles

§12.14 mesh defects (sub-class: splitEdge / boundary)

topology

Sources

Description

3-triangle strip where a boundary edge e=(v0,v1) is split at midpoint vn=(1,0,0). Post-split: t0=(v0,vn,v2), t1=(vn,v1,v2), t2=(v1,v3,v2). ne1=(vn,v2) is the new edge appended to E; nt1=t1 is appended to T; vn is appended to V. Edge (v1,v2) is interior (n=2), shared between nt1 and the neighbor t2.

Reproducer recipe

v0=(0,0,0), v1=(2,0,0), v2=(1,2,0), v3=(3,2,0), vn=(1,0,0); t0=(v0,vn,v2), t1=(vn,v1,v2), t2=(v1,v3,v2).

Expected kernel behavior

V.appendHead(vn), E.appendHead(ne1), T.appendHead(nt1) registers all new elements in the mesh lists for subsequent passes.

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      3.0,
20      2.0,
21      0.0
22    ],
23    [
24      1.0,
25      0.0,
26      0.0
27    ]
28  ],
29  "triangles": [
30    [
31      0,
32      4,
33      2
34    ],
35    [
36      4,
37      1,
38      2
39    ],
40    [
41      1,
42      3,
43      2
44    ]
45  ],
46  "metadata": {
47    "id": "Me189",
48    "schema_version": 0,
49    "defect_class": "split_edge_boundary",
50    "title": "split_edge_list_appends: V/E/T appendHead adds new vertex, edges, triangles",
51    "assertions": [
52      {
53        "kind": "edge_shared_by_n_triangles",
54        "edge": [
55          2,
56          4
57        ],
58        "n": 2
59      },
60      {
61        "kind": "edge_shared_by_n_triangles",
62        "edge": [
63          0,
64          4
65        ],
66        "n": 1
67      },
68      {
69        "kind": "edge_shared_by_n_triangles",
70        "edge": [
71          1,
72          4
73        ],
74        "n": 1
75      },
76      {
77        "kind": "edge_shared_by_n_triangles",
78        "edge": [
79          1,
80          2
81        ],
82        "n": 2
83      },
84      {
85        "kind": "edge_shared_by_n_triangles",
86        "edge": [
87          0,
88          2
89        ],
90        "n": 1
91      },
92      {
93        "kind": "edge_shared_by_n_triangles",
94        "edge": [
95          2,
96          3
97        ],
98        "n": 1
99      },
100      {
101        "kind": "edge_shared_by_n_triangles",
102        "edge": [
103          1,
104          3
105        ],
106        "n": 1
107      },
108      {
109        "kind": "vertex_on_edge",
110        "vertex": 4,
111        "edge": [
112          0,
113          1
114        ]
115      }
116    ]
117  }
118}