reservoirflow.grids.RegularCartesian.get_n#

RegularCartesian.get_n(boundary: bool = True) int#

Returns the total number of grid cells as int.

Parameters:

boundary (bool, optional) – include boundary cells.

Returns:

total number of cells.

Return type:

int