mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 19:20:17 -06:00
Merge pull request #1857 from totto82/fix_fip_seg_fault
fix typo in fip output
This commit is contained in:
commit
a618a1a777
@ -1231,7 +1231,7 @@ private:
|
||||
// Gas dissolved in oil and vaporized oil
|
||||
Scalar gasInPlaceLiquid = Opm::getValue(fs.Rs()) * fip[oilPhaseIdx];
|
||||
Scalar oilInPlaceGas = Opm::getValue(fs.Rv()) * fip[gasPhaseIdx];
|
||||
if (fip_[FipDataType::GasInPlaceInGasPhase].size() > 0)
|
||||
if (fip_[FipDataType::GasInPlaceInLiquidPhase].size() > 0)
|
||||
fip_[FipDataType::GasInPlaceInLiquidPhase][globalDofIdx] = gasInPlaceLiquid;
|
||||
if (fip_[FipDataType::OilInPlaceInGasPhase].size() > 0)
|
||||
fip_[FipDataType::OilInPlaceInGasPhase][globalDofIdx] = oilInPlaceGas;
|
||||
|
Loading…
Reference in New Issue
Block a user