sgio.core.mesh.check_cell_ordering#
- sgio.core.mesh.check_cell_ordering(mesh: SGMesh | Mesh) Dict[Tuple[int, str], ndarray]#
Check node ordering for supported cell types.
- Parameters:
mesh (SGMesh or meshio.Mesh) – Mesh containing cell blocks to validate.
- Returns:
Mapping of (cell_block_id, cell_type) to arrays of invalid cell indices.
- Return type:
dict[tuple[int, str], np.ndarray]
- Raises:
ValueError – If any invalid cell ordering is detected.