From 475bea085ce3f56a0d7413ec06a3b749d9e2503b Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Sep 2021 12:58:16 +0200 Subject: [PATCH] drop using statement for perf_rep_radius_ rather qualify member variable with this-> --- opm/simulators/wells/StandardWell.hpp | 1 - opm/simulators/wells/StandardWell_impl.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/opm/simulators/wells/StandardWell.hpp b/opm/simulators/wells/StandardWell.hpp index e3313e378..c2aef7915 100644 --- a/opm/simulators/wells/StandardWell.hpp +++ b/opm/simulators/wells/StandardWell.hpp @@ -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_; diff --git a/opm/simulators/wells/StandardWell_impl.hpp b/opm/simulators/wells/StandardWell_impl.hpp index 1f2000a9e..02db863c4 100644 --- a/opm/simulators/wells/StandardWell_impl.hpp +++ b/opm/simulators/wells/StandardWell_impl.hpp @@ -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);