mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-01 12:06:54 -06:00
b7fd9e42f4
This commit adds a new helper function, WellInterfacePtr createWellPointer(wellID, reportStep) const which is responsible for creating appropriately typed derived well pointers depending on well types (multi-segment vs. standard). This, in turn, allows us to centralise this logic and use the same factory function both when creating the 'well_container_' and when forming the well-test objects. Finally, this helper will become useful for calculating PI/II values of shut/stopped wells in the context of WELPI. |
||
---|---|---|
.. | ||
core/props | ||
simulators |