CellBlock#

class hydromodpy.spatial.CellBlock(cell_type, connectivity)[source]#

Bases: object

One homogeneous block of cells sharing the same geometry type.

A mesh may contain several blocks (e.g. triangles + quads in a hybrid mesh, or wedges across multiple physical groups). Most HydroModPy meshes carry a single block.

Parameters: