mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5432 from vkip/gconprod_item11to13
Allow GCONPROD item 11-13 to actually take effect.
This commit is contained in:
commit
f99956c452
@ -483,7 +483,7 @@ actionOnBrokenConstraints(const Group& group,
|
|||||||
std::string ss;
|
std::string ss;
|
||||||
switch (group_limit_action.allRates) {
|
switch (group_limit_action.allRates) {
|
||||||
case Group::ExceedAction::NONE: {
|
case Group::ExceedAction::NONE: {
|
||||||
if (oldControl != newControl && oldControl != Group::ProductionCMode::NONE) {
|
if (oldControl != newControl) {
|
||||||
if ((group_limit_action.water == Group::ExceedAction::RATE &&
|
if ((group_limit_action.water == Group::ExceedAction::RATE &&
|
||||||
newControl == Group::ProductionCMode::WRAT) ||
|
newControl == Group::ProductionCMode::WRAT) ||
|
||||||
(group_limit_action.gas == Group::ExceedAction::RATE &&
|
(group_limit_action.gas == Group::ExceedAction::RATE &&
|
||||||
|
Loading…
Reference in New Issue
Block a user