@@ -144,7 +144,7 @@ GroupStateHelper<Scalar, IndexTraits>::checkGroupConstraintsInj(const std::strin
144144 this ->report_step_ ,
145145 &this ->guide_rate_ ,
146146 tcalc.guideTargetMode (),
147- /* is_production_group =*/ false ,
147+ /* is_producer =*/ false ,
148148 injection_phase};
149149
150150 auto local_fraction_lambda = [&](const std::string& child) { return fcalc.localFraction (child, name); };
@@ -317,7 +317,7 @@ GroupStateHelper<Scalar, IndexTraits>::checkGroupConstraintsProd(const std::stri
317317 this ->report_step_ ,
318318 &this ->guide_rate_ ,
319319 tcalc.guideTargetMode (),
320- /* is_production_group =*/ true ,
320+ /* is_producer =*/ true ,
321321 /* injection_phase=*/ Phase::OIL};
322322
323323 auto local_fraction_lambda = [&](const std::string& child) { return fcalc.localFraction (child, name); };
@@ -385,8 +385,8 @@ GroupStateHelper<Scalar, IndexTraits>::checkGroupConstraintsProd(const std::stri
385385 for (std::size_t ii = 1 ; ii < num_ancestors; ++ii) {
386386 const int num_gr_ctrl = this ->groupControlledWells (chain[ii],
387387 /* always_included_child=*/ " " ,
388- /* is_producer =*/ true ,
389- /* injection_phase_not_used =*/ Phase::OIL);
388+ /* is_production_group =*/ true ,
389+ /* injection_phase =*/ Phase::OIL/* not used */ );
390390 if (this ->guide_rate_ .has (chain[ii]) && num_gr_ctrl > 0 ) {
391391 local_reduction_level = ii;
392392 }
@@ -707,7 +707,7 @@ GroupStateHelper<Scalar, IndexTraits>::getWellGroupTargetInjector(const std::str
707707 this ->report_step_ ,
708708 &this ->guide_rate_ ,
709709 tcalc.guideTargetMode (),
710- /* is_production_group =*/ false ,
710+ /* is_producer =*/ false ,
711711 injection_phase};
712712
713713 auto local_fraction_lambda = [&](const std::string& child, const std::string& always_incluced_name) {
@@ -1875,7 +1875,7 @@ GroupStateHelper<Scalar, IndexTraits>::updateGroupTargetReductionRecursive_(
18751875 = this ->groupControlledWells (sub_group.name (),
18761876 /* always_included_child=*/ " " ,
18771877 !is_injector,
1878- /* injection_phase_not_used =*/ Phase::OIL);
1878+ /* injection_phase =*/ Phase::OIL);
18791879 if (individual_control || num_group_controlled_wells == 0 ) {
18801880 for (int phase = 0 ; phase < np; phase++) {
18811881 group_target_reduction[phase]
0 commit comments