upxo.meshing.gbconformant.pipeline.quality_figures module
Element quality distributions: surface triangle angles and shape quality, tetrahedron dihedral angles and minSICN.
Histograms with the worst band marked (QUALITY_WORST_FRACTION of the elements), built from the
repaired surface and the verified tetrahedra a run holds.
- upxo.meshing.gbconformant.pipeline.quality_figures.surface_for_distributions(state: PipelineState)[source]
Prefer repaired → remeshed → closed surface artefacts.
- upxo.meshing.gbconformant.pipeline.quality_figures.surface_distribution_arrays(state: PipelineState) tuple[dict | None, dict[str, Any]][source]
Return
({arrays...}, meta)or(None, unavailable stats).
- upxo.meshing.gbconformant.pipeline.quality_figures.tet_distribution_arrays(state: PipelineState) tuple[dict | None, dict[str, Any]][source]
Return
({arrays...}, meta)or(None, unavailable stats).
- upxo.meshing.gbconformant.pipeline.quality_figures.build_surface_quality_distributions(state: PipelineState, *, figsize: tuple[float, float] = (5.4, 2.55), bins: int = 50, make_figures: bool = True) tuple[list, dict[str, Any]][source]
Return
(figures, stats). Setmake_figures=Falsefor stats only.