drop using statement for flowPhaseToEbosCompIdx

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

View File

@ -181,7 +181,6 @@ namespace Opm
WellSegments::MultiPhaseModel multiphaseModel() const; WellSegments::MultiPhaseModel multiphaseModel() const;
// protected functions from the Base class // protected functions from the Base class
using Base::flowPhaseToEbosCompIdx;
using Base::flowPhaseToEbosPhaseIdx; using Base::flowPhaseToEbosPhaseIdx;
using Base::ebosCompIdxToFlowCompIdx; using Base::ebosCompIdxToFlowCompIdx;
using Base::getAllowCrossFlow; using Base::getAllowCrossFlow;

View File

@ -1571,7 +1571,7 @@ namespace Opm
// Note: E100's notion of PI value phase mobility includes // Note: E100's notion of PI value phase mobility includes
// the reciprocal FVF. // the reciprocal FVF.
const auto connMob = const auto connMob =
mobility[ flowPhaseToEbosCompIdx(p) ].value() mobility[ this->flowPhaseToEbosCompIdx(p) ].value()
* fs.invB(flowPhaseToEbosPhaseIdx(p)).value(); * fs.invB(flowPhaseToEbosPhaseIdx(p)).value();
connPI[p] = connPICalc(connMob); connPI[p] = connPICalc(connMob);