drop using statement for wfoam

rather qualify member function calls with this->
This commit is contained in:
Arne Morten Kvarving 2021-09-06 12:58:16 +02:00
parent 6cfd259f2f
commit 83671b3448
2 changed files with 1 additions and 2 deletions

View File

@ -262,7 +262,6 @@ namespace Opm
protected: protected:
// protected functions from the Base class // protected functions from the Base class
using Base::wfoam;
using Base::mostStrictBhpFromBhpLimits; using Base::mostStrictBhpFromBhpLimits;
using Base::getALQ; using Base::getALQ;

View File

@ -653,7 +653,7 @@ namespace Opm
const unsigned gasCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::gasCompIdx); const unsigned gasCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::gasCompIdx);
EvalWell cq_s_foam = cq_s[gasCompIdx] * well_efficiency_factor_; EvalWell cq_s_foam = cq_s[gasCompIdx] * well_efficiency_factor_;
if (this->isInjector()) { if (this->isInjector()) {
cq_s_foam *= wfoam(); cq_s_foam *= this->wfoam();
} else { } else {
cq_s_foam *= this->extendEval(intQuants.foamConcentration()); cq_s_foam *= this->extendEval(intQuants.foamConcentration());
} }