mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
removing updateKrnum_
which does not have effects, which was suggested by Håkon Hægland. And also removing the following member variables from FlowGenericProblem because they are not in use anymore. krnumx_, krnumy_, krnumz_; imbnumx_, imbnumy_, imbnumz_;
This commit is contained in:
parent
79236c4927
commit
b225ec240f
@ -334,7 +334,6 @@ protected:
|
||||
void updateSatnum_();
|
||||
void updateMiscnum_();
|
||||
void updatePlmixnum_();
|
||||
void updateKrnum_();
|
||||
|
||||
const EclipseState& eclState_;
|
||||
const Schedule& schedule_;
|
||||
@ -347,12 +346,6 @@ protected:
|
||||
std::vector<unsigned short> satnum_;
|
||||
std::vector<unsigned short> miscnum_;
|
||||
std::vector<unsigned short> plmixnum_;
|
||||
std::vector<unsigned short> krnumx_;
|
||||
std::vector<unsigned short> krnumy_;
|
||||
std::vector<unsigned short> krnumz_;
|
||||
std::vector<unsigned short> imbnumx_;
|
||||
std::vector<unsigned short> imbnumy_;
|
||||
std::vector<unsigned short> imbnumz_;
|
||||
|
||||
std::vector<RockParams> rockParams_;
|
||||
std::vector<unsigned short> rockTableIdx_;
|
||||
|
@ -408,16 +408,6 @@ updatePlmixnum_()
|
||||
updateNum("PLMIXNUM", plmixnum_, num_regions);
|
||||
}
|
||||
|
||||
template<class GridView, class FluidSystem>
|
||||
void FlowGenericProblem<GridView,FluidSystem>::
|
||||
updateKrnum_()
|
||||
{
|
||||
const auto num_regions = eclState_.getTableManager().getTabdims().getNumSatTables();
|
||||
updateNum("KRNUMX", krnumx_, num_regions);
|
||||
updateNum("KRNUMY", krnumy_, num_regions);
|
||||
updateNum("KRNUMZ", krnumz_, num_regions);
|
||||
}
|
||||
|
||||
template<class GridView, class FluidSystem>
|
||||
bool FlowGenericProblem<GridView,FluidSystem>::
|
||||
vapparsActive(int episodeIdx) const
|
||||
|
@ -2041,8 +2041,6 @@ protected:
|
||||
// the PLMIX region numbers (polymer model)
|
||||
this->updatePlmixnum_();
|
||||
|
||||
// directional relative permeabilities
|
||||
this->updateKrnum_();
|
||||
OPM_END_PARALLEL_TRY_CATCH("Invalid region numbers: ", vanguard.gridView().comm());
|
||||
////////////////////////////////
|
||||
// porosity
|
||||
|
Loading…
Reference in New Issue
Block a user