drop using statement for perf_rep_radius_

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

View File

@ -263,7 +263,6 @@ namespace Opm
protected:
// protected member variables from the Base class
using Base::perf_rep_radius_;
using Base::perf_length_;
using Base::bore_diameters_;
using Base::ipr_a_;

View File

@ -1984,7 +1984,7 @@ namespace Opm
computePerfRateEval(int_quant, mob, bhp, Tw, perf, allow_cf,
cq_s, perf_dis_gas_rate, perf_vap_oil_rate, deferred_logger);
// TODO: make area a member
const double area = 2 * M_PI * perf_rep_radius_[perf] * perf_length_[perf];
const double area = 2 * M_PI * this->perf_rep_radius_[perf] * perf_length_[perf];
const auto& material_law_manager = ebos_simulator.problem().materialLawManager();
const auto& scaled_drainage_info =
material_law_manager->oilWaterScaledEpsInfoDrainage(cell_idx);