reservoirflow.grids.RegularCartesian.get_zeros#

RegularCartesian.get_zeros(boundary: bool = True, fshape: bool = False, sparse: bool = False)#

Returns array of zeros.

Parameters:
  • boundary (bool, optional) – include boundary cells.

  • fshape (bool, optional) – reshape to flow shape instead of flatten.

  • sparse (bool, optional) – values as sparse matrix (True) or as ndarray (False).

Returns:

array in flow shape filled with ones.

Return type:

array