diff --git a/opm/simulators/flow/FlowGenericProblem.hpp b/opm/simulators/flow/FlowGenericProblem.hpp index 78326aa64..035d10beb 100644 --- a/opm/simulators/flow/FlowGenericProblem.hpp +++ b/opm/simulators/flow/FlowGenericProblem.hpp @@ -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 satnum_; std::vector miscnum_; std::vector plmixnum_; - std::vector krnumx_; - std::vector krnumy_; - std::vector krnumz_; - std::vector imbnumx_; - std::vector imbnumy_; - std::vector imbnumz_; std::vector rockParams_; std::vector rockTableIdx_; diff --git a/opm/simulators/flow/FlowGenericProblem_impl.hpp b/opm/simulators/flow/FlowGenericProblem_impl.hpp index ab5fd30f9..d01aab586 100644 --- a/opm/simulators/flow/FlowGenericProblem_impl.hpp +++ b/opm/simulators/flow/FlowGenericProblem_impl.hpp @@ -408,26 +408,6 @@ updatePlmixnum_() updateNum("PLMIXNUM", plmixnum_, num_regions); } -template -void FlowGenericProblem:: -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 -void FlowGenericProblem:: -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 bool FlowGenericProblem:: vapparsActive(int episodeIdx) const diff --git a/opm/simulators/flow/FlowProblem.hpp b/opm/simulators/flow/FlowProblem.hpp index 5c83abfa6..3a83a9698 100644 --- a/opm/simulators/flow/FlowProblem.hpp +++ b/opm/simulators/flow/FlowProblem.hpp @@ -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