upxo.meshing.gbconformant.d3v2p1.intersection_repair module

d3v2p0.intersection_repair with the intersection search on the d3v2p1 tiers.

The repair rules and the report are d3v2p0’s; the search runs through d3v2p1.surface_intersections, which returns the same pairs for every tier and worker count, so the result is identical to d3v2p0’s.

upxo.meshing.gbconformant.d3v2p1.intersection_repair.repair_interface_crossings(surface, max_displacement=0.35, radius=1.0, opening=0.1, max_passes=3, n_workers=None, backend='auto', track_history=False)[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. backend / n_workers: see d3v2p1.backend (None = automatic); the result does not depend on them.