Merge pull request #3543 from joakim-hove/load-action-state

Load Action state from restart file
This commit is contained in:
Bård Skaflestad 2021-09-22 21:56:53 +02:00 committed by GitHub
commit 95e64e86f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,6 +282,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
udqState = std::make_unique<UDQState>((*schedule)[0].udq().params().undefinedValue());
udqState->load_rst(rst_state);
actionState = std::make_unique<Action::State>();
actionState->load_rst(schedule->operator[](report_step).actions(), rst_state);
}
else {
if (!schedule) {