Merge pull request #5333 from GitPaean/remove_unused_updateImbnum_

removing unused updateImbnum_ function
This commit is contained in:
Bård Skaflestad 2024-05-08 10:59:41 +02:00 committed by GitHub
commit a417968464
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 30 deletions

View File

@ -334,8 +334,6 @@ protected:
void updateSatnum_();
void updateMiscnum_();
void updatePlmixnum_();
void updateKrnum_();
void updateImbnum_();
const EclipseState& eclState_;
const Schedule& schedule_;
@ -348,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_;

View File

@ -408,26 +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>
void FlowGenericProblem<GridView,FluidSystem>::
updateImbnum_()
{
const auto num_regions = eclState_.getTableManager().getTabdims().getNumSatTables();
updateNum("IMBNUMX", imbnumx_, num_regions);
updateNum("IMBNUMY", imbnumy_, num_regions);
updateNum("IMBNUMZ", imbnumz_, num_regions);
}
template<class GridView, class FluidSystem>
bool FlowGenericProblem<GridView,FluidSystem>::
vapparsActive(int episodeIdx) const

View File

@ -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