From d1ad97a7f1866683f590426c9536da2583bd822a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Mon, 11 Jan 2021 21:27:07 +0100 Subject: [PATCH] Chase Unscaled Endpoint API Update We no longer need to pass the "family" as an argument. --- opm/core/props/satfunc/RelpermDiagnostics.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opm/core/props/satfunc/RelpermDiagnostics.cpp b/opm/core/props/satfunc/RelpermDiagnostics.cpp index 7e9d43dbc..d316b271c 100644 --- a/opm/core/props/satfunc/RelpermDiagnostics.cpp +++ b/opm/core/props/satfunc/RelpermDiagnostics.cpp @@ -652,7 +652,6 @@ namespace Opm{ const auto& phases = runspec.phases(); const auto tolcrit = runspec.saturationFunctionControls() .minimumRelpermMobilityThreshold(); - const auto family = runspec.saturationFunctionControls().family(); const auto rtepPtr = satfunc::getRawTableEndpoints(tables, phases, tolcrit); @@ -668,7 +667,7 @@ namespace Opm{ // std::cout << "***************\nEnd-Points In all the Tables\n"; for (int satnumIdx = 0; satnumIdx < numSatRegions; ++satnumIdx) { this->unscaledEpsInfo_[satnumIdx] - .extractUnscaled(*rtepPtr, *rfuncPtr, family, satnumIdx); + .extractUnscaled(*rtepPtr, *rfuncPtr, satnumIdx); const std::string regionIdx = std::to_string(satnumIdx + 1); ///Consistency check.