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
commit a9b97d4286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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