removing function localWellsActive()

This commit is contained in:
Kai Bao
2022-09-14 11:27:22 +02:00
parent 83529b22c7
commit 734b9a792f
3 changed files with 4 additions and 27 deletions

View File

@@ -386,13 +386,6 @@ wellsActive() const
return wells_active_;
}
bool
BlackoilWellModelGeneric::
localWellsActive() const
{
return numLocalWells() > 0;
}
bool
BlackoilWellModelGeneric::
anyMSWellOpenLocal() const
@@ -2140,10 +2133,6 @@ void
BlackoilWellModelGeneric::
calculateEfficiencyFactors(const int reportStepIdx)
{
if ( !localWellsActive() ) {
return;
}
for (auto& well : well_container_generic_) {
const Well& wellEcl = well->wellEcl();
double well_efficiency_factor = wellEcl.getEfficiencyFactor();