pyvale.dataio.meshconv module

Preserved mesh-convention tools for the existing SimData API.

Rendering uses Riley’s public conversion types directly. This module keeps the DataIO, SensorSim, and Mooseherder-facing contract independent until SimData is migrated in a separate change.

class MeshCheckCode(*values)[source]

Bases: StrEnum

A single mesh-convention condition that a connectivity table failed.

ROW_MAJOR_CONNECTIVITY = 'row_major_connectivity'
ZERO_BASED_INDEXING = 'zero_based_indexing'
CONNECTIVITY_INDICES = 'connectivity_indices'
CCW_WINDING = 'ccw_winding'
RIGHT_HANDED_GEOMETRY = 'right_handed_geometry'
SURFACE_TOPOLOGY = 'surface_topology'
NODE_ORDER = 'node_order'
check_mesh_convention(mesh_in, source_convention=None)[source]
enforce_mesh_convention(mesh_in, source_convention=None)[source]
extract_surf_between(mesh_in, point, normal, distance=None, tolerance=1e-06, enforce_convention=True)[source]
extract_surf_mesh(mesh_in, enforce_convention=True)[source]
is_mesh_2d(mesh_in)[source]
is_volume_mesh(mesh_in)[source]