reservoirflow.grids.RegularCartesian.get_cells_dx#

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

Returns cells dx.

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

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

Returns:

array of dx.

Return type:

ndarray