grids.core.UniformGrid.ncells#
- property UniformGrid.ncells: DomainDimensions#
Number of computational cells (excluding ghost zones).
For cell-centered grids: same as
dd
.For vertex-centered grids: one fewer than the number of vertices.
- Returns:
The number of active computational cells along each axis.
- Return type:
DomainDimensions