drop using statement for connectionRates_

rather qualify member variable with this->
This commit is contained in:
Arne Morten Kvarving 2021-09-06 12:58:16 +02:00
parent 15b4ea672f
commit 14273b8c2d
2 changed files with 1 additions and 2 deletions

View File

@ -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_;

View File

@ -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();