reservoirflow.utils.pyvista.add_wells#
- reservoirflow.utils.pyvista.add_wells(pl: Plotter, model) None #
Add wells to a pyvista plotter.
- Parameters:
pl (pv.Plotter) – plotter object from pyvista.
model (rf.models.Model) – a model object from models module.
Notes
Getting cells center using pyvista (you may need to convert to list):
>>> model.grid.get_pyvista_grid(True).extract_cells(w).GetCenter()