mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 23:20:12 -05:00
Adapt to upstream ParamCache change.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user