mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3047 from joakim-hove/action-simtime
Pass simulation time argument to applyAction
This commit is contained in:
commit
ee86c9d991
@ -1329,7 +1329,7 @@ public:
|
||||
}
|
||||
std::string msg = "The action: " + action->name() + " evaluated to true at " + ts + " wells: " + wells_string;
|
||||
Opm::OpmLog::info(msg);
|
||||
schedule.applyAction(reportStep, *action, actionResult);
|
||||
schedule.applyAction(reportStep, std::chrono::system_clock::from_time_t(simTime), *action, actionResult);
|
||||
actionState.add_run(*action, simTime);
|
||||
} else {
|
||||
std::string msg = "The action: " + action->name() + " evaluated to false at " + ts;
|
||||
|
Loading…
Reference in New Issue
Block a user