adjust to upstream GasPvtApproach enum changes

This commit is contained in:
Arne Morten Kvarving
2022-12-12 19:18:58 +01:00
parent 07fb8ed2c2
commit 555b4e7ce2
+2 -2
View File
@@ -333,8 +333,8 @@ public:
FluidSystem::setReferenceDensities(rhoRefO, rhoRefW, rhoRefG, /*regionIdx=*/0);
Opm::GasPvtMultiplexer<Scalar> *gasPvt = new Opm::GasPvtMultiplexer<Scalar>;
gasPvt->setApproach(GasPvtApproach::DryGasPvt);
auto& dryGasPvt = gasPvt->template getRealPvt<GasPvtApproach::DryGasPvt>();
gasPvt->setApproach(GasPvtApproach::DryGas);
auto& dryGasPvt = gasPvt->template getRealPvt<GasPvtApproach::DryGas>();
dryGasPvt.setNumRegions(/*numPvtRegion=*/1);
dryGasPvt.setReferenceDensities(/*regionIdx=*/0, rhoRefO, rhoRefG, rhoRefW);
dryGasPvt.setGasFormationVolumeFactor(/*regionIdx=*/0, Bg);