reservoirflow.grids.RegularCartesian.get_cells_center#

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

Returns cells center.

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

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

  • pyvista (bool, optional) – use built-in pyvista calculations.

Returns:

cells center array.

Return type:

ndarray