discretize.base.BaseRectangularMesh.__len__#

BaseRectangularMesh.__len__()[source]#

Total number of cells in the mesh.

Essentially this is an alias for n_cells.

Returns:
int

Number of cells in the mesh