mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #408 from andlaus/aquifer_api_v2
extend the aquifer model so that it can initialize itself
This commit is contained in:
@@ -57,6 +57,13 @@ public:
|
||||
: simulator_(simulator)
|
||||
{}
|
||||
|
||||
/*!
|
||||
* \brief Called once the problem has been fully initialized and the initial
|
||||
* condition has been applied.
|
||||
*/
|
||||
void initialSolutionApplied()
|
||||
{ }
|
||||
|
||||
/*!
|
||||
* \brief This method is called when a new episode (report step) starts.
|
||||
*/
|
||||
|
||||
@@ -1298,7 +1298,6 @@ public:
|
||||
*/
|
||||
void initialSolutionApplied()
|
||||
{
|
||||
|
||||
if (!GET_PROP_VALUE(TypeTag, DisableWells)) {
|
||||
// initialize the wells. Note that this needs to be done after initializing the
|
||||
// intrinsic permeabilities and the after applying the initial solution because
|
||||
@@ -1315,6 +1314,8 @@ public:
|
||||
this->simulator().vanguard().releaseEquilGrid();
|
||||
|
||||
updateCompositionChangeLimits_();
|
||||
|
||||
aquiferModel_.initialSolutionApplied();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user