mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
drop using statement for wfoam
rather qualify member function calls with this->
This commit is contained in:
parent
6cfd259f2f
commit
83671b3448
@ -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;
|
||||||
|
|
||||||
|
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user