reservoirflow.grids.RegularCartesian.get_n_max#

RegularCartesian.get_n_max(boundary: bool = True)#

Returns the maximum number of grid cells (n_max) as int.

Parameters:

boundary (bool, optional) – include boundary cells.

Returns:

maximum number of grids as max(nx, ny, nz).

Return type:

int