mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-05 22:13:00 -06:00
drop using statement for saturation_table_number_
rather qualify member variable with this->
This commit is contained in:
parent
55b52c3bd4
commit
aaf216a29a
@ -262,7 +262,6 @@ namespace Opm
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
// protected member variables from the Base class
|
// protected member variables from the Base class
|
||||||
using Base::saturation_table_number_;
|
|
||||||
using Base::well_index_;
|
using Base::well_index_;
|
||||||
using Base::index_of_well_;
|
using Base::index_of_well_;
|
||||||
using Base::num_components_;
|
using Base::num_components_;
|
||||||
|
@ -716,7 +716,7 @@ namespace Opm
|
|||||||
|
|
||||||
// either use mobility of the perforation cell or calcualte its own
|
// either use mobility of the perforation cell or calcualte its own
|
||||||
// based on passing the saturation table index
|
// based on passing the saturation table index
|
||||||
const int satid = saturation_table_number_[perf] - 1;
|
const int satid = this->saturation_table_number_[perf] - 1;
|
||||||
const int satid_elem = materialLawManager->satnumRegionIdx(cell_idx);
|
const int satid_elem = materialLawManager->satnumRegionIdx(cell_idx);
|
||||||
if( satid == satid_elem ) { // the same saturation number is used. i.e. just use the mobilty from the cell
|
if( satid == satid_elem ) { // the same saturation number is used. i.e. just use the mobilty from the cell
|
||||||
|
|
||||||
@ -785,7 +785,7 @@ namespace Opm
|
|||||||
|
|
||||||
// either use mobility of the perforation cell or calcualte its own
|
// either use mobility of the perforation cell or calcualte its own
|
||||||
// based on passing the saturation table index
|
// based on passing the saturation table index
|
||||||
const int satid = saturation_table_number_[perf] - 1;
|
const int satid = this->saturation_table_number_[perf] - 1;
|
||||||
const int satid_elem = materialLawManager->satnumRegionIdx(cell_idx);
|
const int satid_elem = materialLawManager->satnumRegionIdx(cell_idx);
|
||||||
if( satid == satid_elem ) { // the same saturation number is used. i.e. just use the mobilty from the cell
|
if( satid == satid_elem ) { // the same saturation number is used. i.e. just use the mobilty from the cell
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user