grids.core.UniformGrid.shape#

property UniformGrid.shape: Sequence[int]#

The shape of the grid (excluding ghost cells), as a tuple of point counts.

This is an alias for dd and provides compatibility with numpy-like APIs.

Returns:

The number of grid points along each axis.

Return type:

tuple of int