mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #47 from andlaus/blackoil_improvements
adapt to the recent API changes in opm-material
This commit is contained in:
@@ -191,12 +191,12 @@ public:
|
||||
}
|
||||
if (gasFormationVolumeFactorOutput_()) {
|
||||
gasFormationVolumeFactor_[globalDofIdx] =
|
||||
FluidSystem::template formationVolumeFactor<FluidState, Scalar>(fs, gasPhaseIdx, pvtRegionIdx);
|
||||
1.0/FluidSystem::template inverseFormationVolumeFactor<FluidState, Scalar>(fs, gasPhaseIdx, pvtRegionIdx);
|
||||
Valgrind::CheckDefined(gasFormationVolumeFactor_[globalDofIdx]);
|
||||
}
|
||||
if (saturatedOilFormationVolumeFactorOutput_()) {
|
||||
saturatedOilFormationVolumeFactor_[globalDofIdx] =
|
||||
FluidSystem::template saturatedFormationVolumeFactor<FluidState, Scalar>(fs, oilPhaseIdx, pvtRegionIdx);
|
||||
1.0/FluidSystem::template saturatedInverseFormationVolumeFactor<FluidState, Scalar>(fs, oilPhaseIdx, pvtRegionIdx);
|
||||
Valgrind::CheckDefined(saturatedOilFormationVolumeFactor_[globalDofIdx]);
|
||||
}
|
||||
if (oilSaturationPressureOutput_()) {
|
||||
|
||||
Reference in New Issue
Block a user