cleaning up more unused flag from WellsGroup

This commit is contained in:
Kai Bao 2016-11-11 11:29:12 +01:00
parent 6c9c64cb3e
commit f4a44ec1dd
3 changed files with 1 additions and 6 deletions

View File

@ -152,7 +152,6 @@ namespace Opm
// This will be used to traverse the bottom nodes.
std::vector<WellNode*> leaf_nodes_;
bool just_update_well_targets_;
bool having_vrep_groups_;

View File

@ -66,7 +66,6 @@ namespace Opm
const InjectionSpecification& inje_spec,
const PhaseUsage& phase_usage)
: parent_(NULL),
should_update_well_targets_(false),
individual_control_(true), // always begin with individual control
efficiency_factor_(efficiency_factor),
name_(myname),
@ -1144,7 +1143,7 @@ namespace Opm
if (group_control_index_ < 0) {
append_well_controls(RESERVOIR_RATE, ntarget, invalid_alq, invalid_vfp, &distr[0], self_index_, wells_);
// TODO: basically, on group control index is not enough eventually. There can be more than one sources for the
// TODO: basically, one group control index is not enough eventually. There can be more than one sources for the
// group control
group_control_index_ = well_controls_get_num(wells_->ctrls[self_index_]) - 1;
// it should only apply for nodes with GRUP injeciton control

View File

@ -258,9 +258,6 @@ namespace Opm
WellsGroupInterface* parent_;
// when some well (mabye group also later), change status from group control
// to individual control, or the other way, the targets for the wells in the group need to be redistributed.
bool should_update_well_targets_;
// Whether well is running under the group control target.
// Current only consider one level of control.
// So not putting it in the WellsGroupInterface yet.