Adapt to upstream ParamCache change.

This commit is contained in:
Atgeirr Flø Rasmussen committed 2025-07-03 16:41:00 +02:00
1 parent aa181935b1
commit ea01701e1d
4 files changed
+3 -6

No files matched your search

@@ -455,9 +455,6 @@ public:
OPM_TIMEBLOCK_LOCAL(UpdateViscosity);
typename FluidSystem::template ParameterCache<Evaluation> paramCache;
paramCache.setRegionIndex(pvtRegionIdx);
if (FluidSystem::phaseIsActive(FluidSystem::oilPhaseIdx)) {
paramCache.setMaxOilSat(SoMax);
}
paramCache.updateAll(fluidState_);
const auto& mu = FluidSystem::viscosity(fluidState, paramCache, phaseIdx);