mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1874 from joakim-hove/summary-eval
Call Summary::eval() and ::add_timestep separately
This commit is contained in:
@@ -137,12 +137,13 @@ public:
|
||||
// handle restarts
|
||||
std::unique_ptr<RestartValue> restartValues;
|
||||
if (isRestart()) {
|
||||
Opm::SummaryState& summaryState = ebosSimulator_.vanguard().summaryState();
|
||||
std::vector<RestartKey> extraKeys = {
|
||||
{"OPMEXTRA" , Opm::UnitSystem::measure::identity, false}
|
||||
};
|
||||
|
||||
std::vector<RestartKey> solutionKeys = {};
|
||||
restartValues.reset(new RestartValue(ebosSimulator_.problem().eclIO().loadRestart(solutionKeys, extraKeys)));
|
||||
restartValues.reset(new RestartValue(ebosSimulator_.problem().eclIO().loadRestart(summaryState, solutionKeys, extraKeys)));
|
||||
}
|
||||
|
||||
// Create timers and file for writing timing info.
|
||||
|
||||
Reference in New Issue
Block a user