mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
Merge pull request #3543 from joakim-hove/load-action-state
Load Action state from restart file
This commit is contained in:
commit
95e64e86f6
@ -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 = std::make_unique<UDQState>((*schedule)[0].udq().params().undefinedValue());
|
||||||
udqState->load_rst(rst_state);
|
udqState->load_rst(rst_state);
|
||||||
actionState = std::make_unique<Action::State>();
|
actionState = std::make_unique<Action::State>();
|
||||||
|
actionState->load_rst(schedule->operator[](report_step).actions(), rst_state);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!schedule) {
|
if (!schedule) {
|
||||||
|
Loading…
Reference in New Issue
Block a user