discretize.base.BaseTensorMesh.__len__#

BaseTensorMesh.__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