Load udq state results from restart file

This commit is contained in:
Joakim Hove 2021-07-03 10:08:25 +02:00
parent bbd8beb822
commit 2b680f27af

View File

@ -245,6 +245,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
if (!schedule)
schedule = std::make_unique<Opm::Schedule>(*deck, *eclipseState, *parseContext, *errorGuard, python, outputInterval, &rst_state);
udqState = std::make_unique<Opm::UDQState>( schedule->operator[](0).udq().params().undefinedValue() );
udqState->load_rst(rst_state);
}
else {
if (!schedule)