mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
Pass matching wells to Schedule::applyAction()
This commit is contained in:
1 parent
8308152e88
commit
1642f34f04
1 file changed
+1
-1
+1
-1
@@ -1315,7 +1315,7 @@ public:
|
||||
|
||||
const auto& wellpi = this->fetchWellPI(reportStep, *action, schedule, matching_wells);
|
||||
|
||||
auto sim_update = schedule.applyAction(reportStep, *action, actionResult, wellpi);
|
||||
auto sim_update = schedule.applyAction(reportStep, *action, actionResult.wells(), wellpi);
|
||||
this->wellModel_.updateEclWells(reportStep, sim_update.affected_wells, summaryState);
|
||||
if (!sim_update.affected_wells.empty())
|
||||
commit_wellstate = true;
|
||||
|
||||
Reference in new issue
Block a user