reservoirflow.grids.RegularCartesian.get_cell_d#
- RegularCartesian.get_cell_d(dir, id=None, coords=None)#
Returns cell d.
- Parameters:
dir (str) – direction str in [‘x’, ‘y’, ‘z’].
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.
- Returns:
cell d.
- Return type:
float
- Raises:
ValueError – id or coords argument must be defined.