cleaning up more unused flag from WellsGroup
This commit is contained in:
@@ -152,7 +152,6 @@ namespace Opm
|
|||||||
// This will be used to traverse the bottom nodes.
|
// This will be used to traverse the bottom nodes.
|
||||||
std::vector<WellNode*> leaf_nodes_;
|
std::vector<WellNode*> leaf_nodes_;
|
||||||
|
|
||||||
bool just_update_well_targets_;
|
|
||||||
bool having_vrep_groups_;
|
bool having_vrep_groups_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,6 @@ namespace Opm
|
|||||||
const InjectionSpecification& inje_spec,
|
const InjectionSpecification& inje_spec,
|
||||||
const PhaseUsage& phase_usage)
|
const PhaseUsage& phase_usage)
|
||||||
: parent_(NULL),
|
: parent_(NULL),
|
||||||
should_update_well_targets_(false),
|
|
||||||
individual_control_(true), // always begin with individual control
|
individual_control_(true), // always begin with individual control
|
||||||
efficiency_factor_(efficiency_factor),
|
efficiency_factor_(efficiency_factor),
|
||||||
name_(myname),
|
name_(myname),
|
||||||
@@ -1144,7 +1143,7 @@ namespace Opm
|
|||||||
|
|
||||||
if (group_control_index_ < 0) {
|
if (group_control_index_ < 0) {
|
||||||
append_well_controls(RESERVOIR_RATE, ntarget, invalid_alq, invalid_vfp, &distr[0], self_index_, wells_);
|
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
|
||||||
group_control_index_ = well_controls_get_num(wells_->ctrls[self_index_]) - 1;
|
group_control_index_ = well_controls_get_num(wells_->ctrls[self_index_]) - 1;
|
||||||
// it should only apply for nodes with GRUP injeciton control
|
// it should only apply for nodes with GRUP injeciton control
|
||||||
|
|||||||
@@ -258,9 +258,6 @@ namespace Opm
|
|||||||
|
|
||||||
WellsGroupInterface* parent_;
|
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.
|
// Whether well is running under the group control target.
|
||||||
// Current only consider one level of control.
|
// Current only consider one level of control.
|
||||||
// So not putting it in the WellsGroupInterface yet.
|
// So not putting it in the WellsGroupInterface yet.
|
||||||
|
|||||||
Reference in New Issue
Block a user