turbo_moc.meshing.inspection module

turbo_moc.meshing.inspection module#

Inspect saved volume cells without regenerating or changing their quality.

turbo_moc.meshing.inspection.inspect_mesh(directory, mode, axis='Z', fraction=0.5, metric='skewness', *, n=10, threshold=None, layer=1, aspect_max=None)[source]#

Return selected cell surfaces and original, uninterpolated volume quality.

Colors are badness: 0 is green and 1 red. Layers start at one at the hub. Thresholds include equality and select the poor side of the metric. The legacy slice/worst calls remain supported.

turbo_moc.meshing.inspection.inspection_info(directory)[source]#

Read available controls from the saved artifact, including outdated jobs.

turbo_moc.meshing.inspection.load_grid(directory)[source]#

Return an independent grid so callers cannot mutate the inspection cache.