mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
removing a few not-used function with the new strategy.
This commit is contained in:
parent
84910993c4
commit
6c9c64cb3e
@ -238,18 +238,6 @@ namespace Opm
|
|||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool WellsGroupInterface::shouldUpdateWellTargets() const
|
|
||||||
{
|
|
||||||
return should_update_well_targets_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void WellsGroupInterface::setShouldUpdateWellTargets(const bool should_update_well_targets)
|
|
||||||
{
|
|
||||||
should_update_well_targets_ = should_update_well_targets;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool WellsGroupInterface::individualControl() const
|
bool WellsGroupInterface::individualControl() const
|
||||||
{
|
{
|
||||||
return individual_control_;
|
return individual_control_;
|
||||||
@ -805,7 +793,6 @@ namespace Opm
|
|||||||
if (!children_[i]->individualControl() && children_[i]->isProducer()) {
|
if (!children_[i]->individualControl() && children_[i]->isProducer()) {
|
||||||
const double children_guide_rate = children_[i]->productionGuideRate(true);
|
const double children_guide_rate = children_[i]->productionGuideRate(true);
|
||||||
children_[i]->applyProdGroupControl(prod_mode, (children_guide_rate / my_guide_rate) * rate_for_group_control, true);
|
children_[i]->applyProdGroupControl(prod_mode, (children_guide_rate / my_guide_rate) * rate_for_group_control, true);
|
||||||
children_[i]->setShouldUpdateWellTargets(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -814,11 +801,6 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
// NOT doing anything yet.
|
// NOT doing anything yet.
|
||||||
// Will finish it when having an examples with more than one injection wells within same injection group.
|
// Will finish it when having an examples with more than one injection wells within same injection group.
|
||||||
for (size_t i = 0; i < children_.size(); ++i) {
|
|
||||||
if (!children_[i]->individualControl() && children_[i]->isInjector()) {
|
|
||||||
children_[i]->setShouldUpdateWellTargets(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -226,10 +226,6 @@ namespace Opm
|
|||||||
/// Update the status for individual contrl
|
/// Update the status for individual contrl
|
||||||
void setIndividualControl(const bool);
|
void setIndividualControl(const bool);
|
||||||
|
|
||||||
virtual bool shouldUpdateWellTargets() const;
|
|
||||||
|
|
||||||
virtual void setShouldUpdateWellTargets(const bool);
|
|
||||||
|
|
||||||
/// Whether it is a production well
|
/// Whether it is a production well
|
||||||
/// Should only appy for WellNode
|
/// Should only appy for WellNode
|
||||||
virtual bool isProducer() const = 0;
|
virtual bool isProducer() const = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user