mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
drop using statement for perf_depth_
rather qualify member variable with this->
This commit is contained in:
1 parent
78a4aa3ede
commit
9970fb4ab4
2 files changed
+1
-2
No files matched your search
@@ -180,7 +180,6 @@ namespace Opm
|
|||||||
// multi-phase flow model
|
// multi-phase flow model
|
||||||
WellSegments::MultiPhaseModel multiphaseModel() const;
|
WellSegments::MultiPhaseModel multiphaseModel() const;
|
||||||
|
|
||||||
using Base::perf_depth_;
|
|
||||||
using Base::num_components_;
|
using Base::num_components_;
|
||||||
using Base::connectionRates_;
|
using Base::connectionRates_;
|
||||||
using Base::ipr_a_;
|
using Base::ipr_a_;
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ namespace Opm
|
|||||||
// calcuate the depth difference between the perforations and the perforated grid block
|
// calcuate the depth difference between the perforations and the perforated grid block
|
||||||
for (int perf = 0; perf < this->number_of_perforations_; ++perf) {
|
for (int perf = 0; perf < this->number_of_perforations_; ++perf) {
|
||||||
const int cell_idx = this->well_cells_[perf];
|
const int cell_idx = this->well_cells_[perf];
|
||||||
this->cell_perforation_depth_diffs_[perf] = depth_arg[cell_idx] - perf_depth_[perf];
|
this->cell_perforation_depth_diffs_[perf] = depth_arg[cell_idx] - this->perf_depth_[perf];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user