mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
Merge pull request #3743 from akva2/adjust_material_adjustments
adjust to upstream changes
This commit is contained in:
1 file changed
+3
-2
@@ -625,8 +625,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (simulator_.vanguard().eclState().fieldProps().has_double("SWATINIT")) {
|
if (simulator_.vanguard().eclState().fieldProps().has_double("SWATINIT")) {
|
||||||
auto oilWaterScaledEpsInfoDrainage = simulator.problem().materialLawManager()->oilWaterScaledEpsInfoDrainagePointerReferenceHack(elemIdx);
|
const auto& oilWaterScaledEpsInfoDrainage =
|
||||||
oilWaterScaledEpsInfoDrainage->maxPcow = this->ppcw_[elemIdx];
|
simulator.problem().materialLawManager()->oilWaterScaledEpsInfoDrainage(elemIdx);
|
||||||
|
const_cast<EclEpsScalingPointsInfo<Scalar>&>(oilWaterScaledEpsInfoDrainage).maxPcow = this->ppcw_[elemIdx];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user