diff --git a/opm/simulators/wells/MultisegmentWell.hpp b/opm/simulators/wells/MultisegmentWell.hpp index 81dc24fc3..dd9af2146 100644 --- a/opm/simulators/wells/MultisegmentWell.hpp +++ b/opm/simulators/wells/MultisegmentWell.hpp @@ -180,7 +180,6 @@ namespace Opm // multi-phase flow model WellSegments::MultiPhaseModel multiphaseModel() const; - using Base::well_index_; using Base::saturation_table_number_; using Base::well_efficiency_factor_; using Base::gravity_; diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index cfb6504e1..50e5dd4a9 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -955,7 +955,7 @@ namespace Opm } // the well index associated with the connection - const double tw_perf = well_index_[perf]*ebos_simulator.problem().template rockCompTransMultiplier(int_quantities, cell_idx); + const double tw_perf = this->well_index_[perf]*ebos_simulator.problem().template rockCompTransMultiplier(int_quantities, cell_idx); // TODO: there might be some indices related problems here // phases vs components @@ -1276,7 +1276,7 @@ namespace Opm std::vector mob(num_components_, 0.0); getMobility(ebosSimulator, perf, mob); const double trans_mult = ebosSimulator.problem().template rockCompTransMultiplier(int_quants, cell_idx); - const double Tw = well_index_[perf] * trans_mult; + const double Tw = this->well_index_[perf] * trans_mult; std::vector cq_s(num_components_, 0.0); EvalWell perf_press; double perf_dis_gas_rate = 0.; @@ -1535,7 +1535,7 @@ namespace Opm std::vector mob(num_components_, 0.0); getMobility(ebosSimulator, perf, mob); const double trans_mult = ebosSimulator.problem().template rockCompTransMultiplier(int_quants, cell_idx); - const double Tw = well_index_[perf] * trans_mult; + const double Tw = this->well_index_[perf] * trans_mult; std::vector cq_s(num_components_, 0.0); EvalWell perf_press; double perf_dis_gas_rate = 0.;