opm-simulators/opm
Bård Skaflestad b7fd9e42f4 Well Model: Add Helper for Well Pointer Creation
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.
2020-12-02 16:30:46 +01:00
..
core/props Alternative solvent extension for the black oil model. 2020-11-17 12:33:19 +01:00
simulators Well Model: Add Helper for Well Pointer Creation 2020-12-02 16:30:46 +01:00