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). Set make_figures=False for stats only.

upxo.meshing.gbconformant.pipeline.quality_figures.build_tet_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). Set make_figures=False for stats only.

upxo.meshing.gbconformant.pipeline.quality_figures.distribution_stats_text(stats: dict[str, Any], *, kind: str) → str[source]

Compact monospace summary under the charts.