mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-05 22:13:00 -06:00
fix group prod
This commit is contained in:
parent
bc71341462
commit
485bbfe010
@ -2098,11 +2098,11 @@ namespace Opm
|
||||
const auto& well = well_ecl_;
|
||||
const auto pu = phaseUsage();
|
||||
|
||||
if (!group.isProductionGroup())
|
||||
const Group2::ProductionCMode& currentGroupControl = well_state.currentProductionGroupControl(group.name());
|
||||
if (!group.isProductionGroup() && currentGroupControl != Group2::ProductionCMode::FLD)
|
||||
return;
|
||||
|
||||
const auto& groupcontrols = group.productionControls(summaryState);
|
||||
const Group2::ProductionCMode& currentGroupControl = well_state.currentProductionGroupControl(group.name());
|
||||
|
||||
switch(currentGroupControl) {
|
||||
case Group2::ProductionCMode::NONE:
|
||||
|
@ -1077,11 +1077,11 @@ namespace Opm
|
||||
const auto& well = well_ecl_;
|
||||
const auto pu = phaseUsage();
|
||||
|
||||
if (!group.isProductionGroup())
|
||||
const Group2::ProductionCMode& currentGroupControl = well_state.currentProductionGroupControl(group.name());
|
||||
if (!group.isProductionGroup() && currentGroupControl != Group2::ProductionCMode::FLD)
|
||||
return;
|
||||
|
||||
const auto& groupcontrols = group.productionControls(summaryState);
|
||||
const Group2::ProductionCMode& currentGroupControl = well_state.currentProductionGroupControl(group.name());
|
||||
|
||||
switch(currentGroupControl) {
|
||||
case Group2::ProductionCMode::NONE:
|
||||
|
Loading…
Reference in New Issue
Block a user