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:
Bård Skaflestad 2019-11-28 18:30:45 +01:00
parent 8a764568e1
commit 143b45ed52

View File

@ -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);
}
}