reservoirflow.grids.RegularCartesian.get_shape#

RegularCartesian.get_shape(boundary: bool = False) tuple#

Returns the number of grids in x, y, z as tuple of (nx, ny, nz).

Parameters:

boundary (bool, optional) – include boundary cells.

Returns:

the number of grids as (nx, ny, nz).

Return type:

tuple