reservoirflow.grids.RegularCartesian.get_cell_dy#

RegularCartesian.get_cell_dy(id=None, coords=None)#

Returns cell dy.

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.

Returns:

cell dy.

Return type:

float

Raises:

ValueError – id or coords argument must be defined.