reservoirflow.grids.RegularCartesian.get_cells_A#
- RegularCartesian.get_cells_A(dir, boundary: bool = True, fshape: bool = True)#
Returns cells cross-sectional area A.
- Parameters:
dir (str) – direction str in [‘x’, ‘y’, ‘z’].
boundary (bool, optional) – include boundary cells.
fshape (bool, optional) – reshape to flow shape instead of flatten.
- Returns:
array of Ax, Ay, or Az based on dir argument.
- Return type:
ndarray