mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-03 21:16:54 -06:00
drop using statement for flowPhaseToEbosPhaseIdx
rather qualify member function calls with this->
This commit is contained in:
parent
d2fb4f3266
commit
36cec80269
@ -181,7 +181,6 @@ namespace Opm
|
||||
WellSegments::MultiPhaseModel multiphaseModel() const;
|
||||
|
||||
// protected functions from the Base class
|
||||
using Base::flowPhaseToEbosPhaseIdx;
|
||||
using Base::ebosCompIdxToFlowCompIdx;
|
||||
using Base::getAllowCrossFlow;
|
||||
|
||||
|
@ -1572,7 +1572,7 @@ namespace Opm
|
||||
// the reciprocal FVF.
|
||||
const auto connMob =
|
||||
mobility[ this->flowPhaseToEbosCompIdx(p) ].value()
|
||||
* fs.invB(flowPhaseToEbosPhaseIdx(p)).value();
|
||||
* fs.invB(this->flowPhaseToEbosPhaseIdx(p)).value();
|
||||
|
||||
connPI[p] = connPICalc(connMob);
|
||||
}
|
||||
@ -1629,7 +1629,7 @@ namespace Opm
|
||||
|
||||
const auto zero = EvalWell { 0.0 };
|
||||
const auto mt = std::accumulate(mobility.begin(), mobility.end(), zero);
|
||||
connII[phase_pos] = connIICalc(mt.value() * fs.invB(flowPhaseToEbosPhaseIdx(phase_pos)).value());
|
||||
connII[phase_pos] = connIICalc(mt.value() * fs.invB(this->flowPhaseToEbosPhaseIdx(phase_pos)).value());
|
||||
}
|
||||
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user