discretize.TensorMesh.__len__#

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