removing a few not-used function with the new strategy.

This commit is contained in:
Kai Bao 2016-11-10 17:50:30 +01:00
parent 84910993c4
commit 6c9c64cb3e
2 changed files with 0 additions and 22 deletions

View File

@ -238,18 +238,6 @@ namespace Opm
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
{
return individual_control_;
@ -805,7 +793,6 @@ namespace Opm
if (!children_[i]->individualControl() && children_[i]->isProducer()) {
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]->setShouldUpdateWellTargets(false);
}
}
}
@ -814,11 +801,6 @@ namespace Opm
{
// NOT doing anything yet.
// 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);
}
}
}

View File

@ -226,10 +226,6 @@ namespace Opm
/// Update the status for individual contrl
void setIndividualControl(const bool);
virtual bool shouldUpdateWellTargets() const;
virtual void setShouldUpdateWellTargets(const bool);
/// Whether it is a production well
/// Should only appy for WellNode
virtual bool isProducer() const = 0;