reservoirflow.grids.RegularCartesian.get_cell_G#
- RegularCartesian.get_cell_G(id=None, coords=None, boundary: bool = True)#
Returns cell geometric factor (G) with all cell neighbors.
- Parameters:
id (int, iterable of int) – cell id based on natural order as int. For multiple cells, list of int [id,id,..] or tuple of int (id,id,…). NotFullyImplemented.
coords (iterable of int, iterable of tuples of int, by default) – None cell coordinates (i,j,k) as a tuple of int. For multiple cells, tuple of tuples of int as ((i,j,k),(i,j,k),..). NotFullyImplemented.
boundary (bool, optional) – include boundary cells.
- Returns:
array of G based on dir argument.
- Return type:
ndarray