Merge pull request #408 from andlaus/aquifer_api_v2

extend the aquifer model so that it can initialize itself
This commit is contained in:
Tor Harald Sandve
2018-10-31 12:47:54 +01:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -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.
*/

View File

@@ -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();
}
/*!