drop using statement for connectionRates_

rather qualify member variable with this->
This commit is contained in:
Arne Morten Kvarving committed 2021-09-09 11:53:35 +02:00
1 parent 15b4ea672f
commit 14273b8c2d
2 files changed
+1 -2

No files matched your search

@@ -180,7 +180,6 @@ namespace Opm
// multi-phase flow model
WellSegments::MultiPhaseModel multiphaseModel() const;
using Base::connectionRates_;
using Base::ipr_a_;
using Base::ipr_b_;
@@ -1299,7 +1299,7 @@ namespace Opm
// the cq_s entering mass balance equations need to consider the efficiency factors.
const EvalWell cq_s_effective = cq_s[comp_idx] * this->well_efficiency_factor_;
connectionRates_[perf][comp_idx] = Base::restrictEval(cq_s_effective);
this->connectionRates_[perf][comp_idx] = Base::restrictEval(cq_s_effective);
// subtract sum of phase fluxes in the well equations.
this->resWell_[seg][comp_idx] += cq_s_effective.value();