discretize.base.BaseRectangularMesh.shape_nodes

property BaseRectangularMesh.shape_nodes

Returns the number of nodes along each axis direction

This property returns a tuple containing the number of nodes along each axis direction. The length of the tuple is equal to the dimension of the mesh; i.e. 1, 2 or 3.

Returns
(dim) tuple of int

Number of nodes along each axis direction

Notes

Property also accessible as using the shorthand vnN