extend the aquifer model so that it can initialize itself

nothing is perfect on first try...
This commit is contained in:
Andreas Lauser 2018-10-30 11:22:26 +01:00
parent 7fd640bb9e
commit ec898fa8c2
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

@ -1301,7 +1301,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
@ -1318,6 +1317,8 @@ public:
this->simulator().vanguard().releaseEquilGrid();
updateCompositionChangeLimits_();
aquiferModel_.initialSolutionApplied();
}
/*!