fixing the comilation problem from rebasing.
This commit is contained in:
parent
e183ab6ccd
commit
fec53a1af5
@ -239,7 +239,7 @@ namespace Opm
|
||||
|
||||
|
||||
|
||||
const size_t WellCollection::numNode() const
|
||||
size_t WellCollection::numNode() const
|
||||
{
|
||||
return leaf_nodes_.size();
|
||||
}
|
||||
|
@ -120,7 +120,7 @@ namespace Opm
|
||||
bool needUpdateInjectionTargets() const;
|
||||
bool needUpdateProductionTargets() const;
|
||||
|
||||
const size_t numNode() const;
|
||||
size_t numNode() const;
|
||||
|
||||
WellNode* getNode(size_t i) const;
|
||||
|
||||
|
@ -1027,7 +1027,7 @@ namespace Opm
|
||||
// Current understanding. Two ways might prevent to return the guide_rate here
|
||||
// 1. preventing the well from group control with keyword WGRUPCON
|
||||
// 2. the well violating some limits and working under limits.
|
||||
if (!only_group || !individual_control_) {
|
||||
if (!only_group || !individualControl()) {
|
||||
return prodSpec().guide_rate_;
|
||||
} else {
|
||||
return 0.0;
|
||||
@ -1039,7 +1039,7 @@ namespace Opm
|
||||
/// wells under group control
|
||||
double WellNode::injectionGuideRate(bool only_group)
|
||||
{
|
||||
if (!only_group || !individual_control_) {
|
||||
if (!only_group || !individualControl()) {
|
||||
return injSpec().guide_rate_;
|
||||
} else {
|
||||
return 0.0;
|
||||
|
@ -230,11 +230,6 @@ namespace Opm
|
||||
|
||||
WellsGroupInterface* parent_;
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
ProductionSpecification production_specification_;
|
||||
InjectionSpecification injection_specification_;
|
||||
PhaseUsage phase_usage_;
|
||||
// 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_;
|
||||
@ -242,6 +237,12 @@ namespace Opm
|
||||
// Current only consider one level of control.
|
||||
// So not putting it in the WellsGroupInterface yet.
|
||||
bool individual_control_;
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
ProductionSpecification production_specification_;
|
||||
InjectionSpecification injection_specification_;
|
||||
PhaseUsage phase_usage_;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user