mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclWriter: Initialize Aquifers From Restart Data
This commit calls the aquifer model's 'initFromRestart' function if the loadParallelRestart() function happens to return any aquifer data from the restart file. Such data is currently limited to two items of information for analytic aquifers (from XAAQ vector), but future extensions are likely.
This commit is contained in:
@@ -454,6 +454,9 @@ public:
|
||||
|
||||
// initialize the well model from restart values
|
||||
simulator_.problem().wellModel().initFromRestartFile(restartValues);
|
||||
|
||||
if (!restartValues.aquifer.empty())
|
||||
simulator_.problem().mutableAquiferModel().initFromRestart(restartValues.aquifer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user