mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
drop using statement for connectionRates_
rather qualify member variable with this->
This commit is contained in:
parent
9b92837673
commit
2cc38ed396
@ -262,7 +262,6 @@ namespace Opm
|
||||
|
||||
protected:
|
||||
// protected member variables from the Base class
|
||||
using Base::connectionRates_;
|
||||
|
||||
using Base::perf_rep_radius_;
|
||||
using Base::perf_length_;
|
||||
|
@ -430,7 +430,7 @@ namespace Opm
|
||||
|
||||
const int np = this->number_of_phases_;
|
||||
|
||||
std::vector<RateVector> connectionRates = connectionRates_; // Copy to get right size.
|
||||
std::vector<RateVector> connectionRates = this->connectionRates_; // Copy to get right size.
|
||||
auto& perf_data = ws.perf_data;
|
||||
auto& perf_rates = perf_data.phase_rates;
|
||||
for (int perf = 0; perf < this->number_of_perforations_; ++perf) {
|
||||
@ -483,7 +483,7 @@ namespace Opm
|
||||
}
|
||||
}
|
||||
// Update the connection
|
||||
connectionRates_ = connectionRates;
|
||||
this->connectionRates_ = connectionRates;
|
||||
|
||||
// accumulate resWell_ and invDuneD_ in parallel to get effects of all perforations (might be distributed)
|
||||
wellhelpers::sumDistributedWellEntries(this->invDuneD_[0][0], this->resWell_[0],
|
||||
|
Loading…
Reference in New Issue
Block a user