mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Merge pull request #3188 from joakim-hove/actionx-record-correct-time
Record the correct simulation time in ActionState
This commit is contained in:
+1
-1
@@ -1381,7 +1381,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool commit_wellstate = false;
|
bool commit_wellstate = false;
|
||||||
auto simTime = schedule.simTime(reportStep);
|
auto simTime = Opm::asTimeT(now);
|
||||||
for (const auto& action : actions.pending(actionState, simTime)) {
|
for (const auto& action : actions.pending(actionState, simTime)) {
|
||||||
auto actionResult = action->eval(context);
|
auto actionResult = action->eval(context);
|
||||||
if (actionResult) {
|
if (actionResult) {
|
||||||
|
|||||||
Reference in New Issue
Block a user