EclProblem: Provide Mutable Access to Aquifer Model Object

This commit adds a new public member function,

    EclProblem::mutableAquiferModel()

that returns a read/write reference to the contained EclAquiferModel
object.  The immediate use-case is initializing analytic aquifers
from restart data.
This commit is contained in:
Bård Skaflestad 2019-11-28 18:26:22 +01:00
parent 4c4a893781
commit 8a764568e1

View File

@ -1748,6 +1748,9 @@ public:
EclWellModel& wellModel()
{ return wellModel_; }
EclAquiferModel& mutableAquiferModel()
{ return aquiferModel_; }
// temporary solution to facilitate output of initial state from flow
const InitialFluidState& initialFluidState(unsigned globalDofIdx) const
{ return initialFluidStates_[globalDofIdx]; }