upxo.meshing.gbconformant.d3v2p0.intersection_repair module
Bounded separation of crossing interfaces beside a shared junction line.
- upxo.meshing.gbconformant.d3v2p0.intersection_repair.repair_interface_crossings(surface, max_displacement=0.35, radius=1.0, opening=0.1, max_passes=3)[source]
Open intersecting interface wedges while freezing their shared junction.
Only free vertices on intersecting triangles move. Each pair of interfaces must share a grain and at least two junction nodes at the crossing. A local separating plane passes through that line; outward normals determine the sides. opening controls separation relative to distance from the line. All patch junction nodes and RVE-plane coordinates remain fixed. Unsupported intersections or failed checks raise rather than returning a claimed fix.