Merge pull request #1137 from GitPaean/group_ebos_vrep
set the VREP control as current control when applying VREP control
This commit is contained in:
commit
5aa5ac89c5
|
@ -1223,6 +1223,7 @@ namespace Opm
|
|||
group_control_index_ = well_controls_get_num(wells_->ctrls[self_index_]) - 1;
|
||||
// it should only apply for nodes with GRUP injeciton control
|
||||
individual_control_ = false;
|
||||
set_current_control(self_index_, group_control_index_, wells_);
|
||||
} else {
|
||||
well_controls_iset_type(wells_->ctrls[self_index_] , group_control_index_ , RESERVOIR_RATE);
|
||||
well_controls_iset_target(wells_->ctrls[self_index_] , group_control_index_ , ntarget);
|
||||
|
|
Loading…
Reference in New Issue
Block a user