mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-03 21:16:54 -06:00
drop using statement for ebosCompIdxToFlowCompIdx
rather qualify member function calls with this->
This commit is contained in:
parent
36cec80269
commit
7609f7e1f7
@ -181,7 +181,6 @@ namespace Opm
|
||||
WellSegments::MultiPhaseModel multiphaseModel() const;
|
||||
|
||||
// protected functions from the Base class
|
||||
using Base::ebosCompIdxToFlowCompIdx;
|
||||
using Base::getAllowCrossFlow;
|
||||
|
||||
// the intial amount of fluids in each segment under surface condition
|
||||
|
@ -382,7 +382,7 @@ namespace Opm
|
||||
well_flux.resize(np, 0.0);
|
||||
for (int compIdx = 0; compIdx < this->num_components_; ++compIdx) {
|
||||
const EvalWell rate = well_copy.getQs(compIdx);
|
||||
well_flux[ebosCompIdxToFlowCompIdx(compIdx)] = rate.value();
|
||||
well_flux[this->ebosCompIdxToFlowCompIdx(compIdx)] = rate.value();
|
||||
}
|
||||
debug_cost_counter_ += well_copy.debug_cost_counter_;
|
||||
}
|
||||
@ -990,8 +990,8 @@ namespace Opm
|
||||
|
||||
for (int p = 0; p < this->number_of_phases_; ++p) {
|
||||
// TODO: double check the indices here
|
||||
this->ipr_a_[ebosCompIdxToFlowCompIdx(p)] += ipr_a_perf[p];
|
||||
this->ipr_b_[ebosCompIdxToFlowCompIdx(p)] += ipr_b_perf[p];
|
||||
this->ipr_a_[this->ebosCompIdxToFlowCompIdx(p)] += ipr_a_perf[p];
|
||||
this->ipr_b_[this->ebosCompIdxToFlowCompIdx(p)] += ipr_b_perf[p];
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1291,7 +1291,7 @@ namespace Opm
|
||||
|
||||
// store the perf pressure and rates
|
||||
for (int comp_idx = 0; comp_idx < this->num_components_; ++comp_idx) {
|
||||
perf_rates[perf*this->number_of_phases_ + ebosCompIdxToFlowCompIdx(comp_idx)] = cq_s[comp_idx].value();
|
||||
perf_rates[perf*this->number_of_phases_ + this->ebosCompIdxToFlowCompIdx(comp_idx)] = cq_s[comp_idx].value();
|
||||
}
|
||||
perf_press_state[perf] = perf_press.value();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user