upxo.meshing.gbconformant.d3v2p1.tet_validation module
d3v2p0’s read-only surface checks, with the per-grain checks and the intersection search run in worker processes. The report has the same content as d3v2p0’s for any worker count.
- upxo.meshing.gbconformant.d3v2p1.tet_validation.validate_tet_surfaces(surface, expected_grains=None, min_triangle_quality=0.05, check_intersections=False, minimum_facet_angle=0.1, n_workers=None, backend='auto')[source]
Check a ClosedRVE; return JSON-compatible diagnostics and bad face IDs.
Manifoldness is assessed per grain: a shared triple line is valid in the global complex. Vertex links catch point pinches missed by edge incidence. Optional intersection checks use floating-point geometric predicates. This is a preliminary check, not an exact intersection/clearance certification or a guarantee that Gmsh will produce valid tetrahedra. No geometry is modified. backend / n_workers: see d3v2p1.backend (None = automatic). The report content does not depend on them; report[‘backend’] records the tier used.