discretize.CylindricalMesh.shape_cells#

property CylindricalMesh.shape_cells#

Number of cells in each coordinate direction.

For meshes of class TensorMesh, CylindricalMesh or CurvilinearMesh, shape_cells returns the number of cells along each coordinate axis direction. For mesh of class TreeMesh, shape_cells returns the number of underlying tensor mesh cells along each coordinate direction.

Returns:
(dim) tuple of int

the number of cells in each coordinate direcion

Notes

Property also accessible as using the shorthand vnC