discretize.CurvilinearMesh.__len__#

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