Merge pull request #3507 from joakim-hove/add-runspec

Add Runspec argument to restart loader
This commit is contained in:
Arne Morten Kvarving
2021-09-06 17:18:46 +02:00
committed by GitHub

View File

@@ -262,7 +262,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
// too expensive however since doing so will create a copy
// of the grid inside the optional<>.
const auto rst_state = RestartIO::RstState::
load(std::move(rst_view), &eclipseState->getInputGrid());
load(std::move(rst_view), eclipseState->runspec(), &eclipseState->getInputGrid());
eclipseState->loadRestartAquifers(rst_state.aquifers);