mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 15:10:09 -05:00
Merge pull request #6078 from akva2/fix_clear_events
fixed: clear out events before processing actions
This commit is contained in:
1 file changed
+4
@@ -465,6 +465,10 @@ public:
|
||||
const int episodeIdx = this->episodeIndex();
|
||||
auto& simulator = this->simulator();
|
||||
|
||||
// Clear out any existing events as these have already been
|
||||
// processed when we're running an action block
|
||||
this->simulator().vanguard().schedule().clearEvents(episodeIdx);
|
||||
|
||||
// Re-ordering in case of Alugrid
|
||||
this->actionHandler_
|
||||
.applyActions(episodeIdx, simulator.time() + simulator.timeStepSize(),
|
||||
|
||||
Reference in new issue
Block a user