CellType#

class hydromodpy.spatial.CellType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

Supported cell geometries.

property is_ragged: bool#

Whether cells of this type have a variable number of nodes.

classmethod from_string(name)[source]#

Resolve a cell type from any common alias.

Parameters:

name (str)

Return type:

CellType