sgio.core.mesh.fix_cell_ordering#
- sgio.core.mesh.fix_cell_ordering(mesh: SGMesh | Mesh) Dict[Tuple[int, str], ndarray]#
Fix node ordering for supported cell types.
- Parameters:
mesh (SGMesh or meshio.Mesh) – Mesh containing cell blocks to validate and fix.
- Returns:
Mapping of (cell_block_id, cell_type) to arrays of fixed cell indices.
- Return type:
dict[tuple[int, str], np.ndarray]