mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Load udq state results from restart file
This commit is contained in:
parent
bbd8beb822
commit
2b680f27af
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user