reservoirflow.utils.pyvista.get_cdir#

reservoirflow.utils.pyvista.get_cdir(grid) str#

Get camera direction.

Parameters:

grid (Grid) – grid object from reservoirflow grids module.

Returns:

a string to indicate the flow direction based on xyz axis.

Return type:

str