reservoirflow.grids.RegularCartesian.get_order#
- RegularCartesian.get_order(type: str = 'natural', boundary: bool = True, fshape: bool = False) ndarray #
Returns grid order as ndarray.
- Parameters:
type (str, optional) – grid order type in which grids are numbered. Currently, only “natural” order is supported.
boundary (bool, optional) – include boundary cells.
fshape (bool, optional) – reshape to flow shape instead of flatten.
- Returns:
gird order as array.
- Return type:
ndarray