mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
adjust to upstream GasPvtApproach enum changes
This commit is contained in:
parent
07fb8ed2c2
commit
555b4e7ce2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user