discretize.base.BaseRectangularMesh.dim#

property BaseRectangularMesh.dim#

The dimension of the mesh (1, 2, or 3).

The dimension is an integer denoting whether the mesh is 1D, 2D or 3D.

Returns
int

Dimension of the mesh; i.e. 1, 2 or 3