grids.core.UniformGrid.ndim#

property UniformGrid.ndim: int#

The number of spatial dimensions in the grid.

This is inferred from the associated coordinate system’s number of dimensions.

Returns:

The number of dimensions in the grid.

Return type:

int