mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3743 from akva2/adjust_material_adjustments
adjust to upstream changes
This commit is contained in:
commit
74b79d4626
@ -625,8 +625,9 @@ public:
|
||||
}
|
||||
|
||||
if (simulator_.vanguard().eclState().fieldProps().has_double("SWATINIT")) {
|
||||
auto oilWaterScaledEpsInfoDrainage = simulator.problem().materialLawManager()->oilWaterScaledEpsInfoDrainagePointerReferenceHack(elemIdx);
|
||||
oilWaterScaledEpsInfoDrainage->maxPcow = this->ppcw_[elemIdx];
|
||||
const auto& oilWaterScaledEpsInfoDrainage =
|
||||
simulator.problem().materialLawManager()->oilWaterScaledEpsInfoDrainage(elemIdx);
|
||||
const_cast<EclEpsScalingPointsInfo<Scalar>&>(oilWaterScaledEpsInfoDrainage).maxPcow = this->ppcw_[elemIdx];
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user