mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
removing function localWellsActive()
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user