Merge pull request #2994 from bska/fix-bosat-smry-2p

Extract SOIL Directly for 'BOSAT' Summary Vector
This commit is contained in:
Bård Skaflestad 2020-12-21 15:58:54 +01:00 committed by GitHub
commit ca8cd922ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -804,7 +804,7 @@ public:
else if (key.first == "BGSAT")
val.second = Opm::getValue(fs.saturation(gasPhaseIdx));
else if (key.first == "BOSAT")
val.second = 1. - Opm::getValue(fs.saturation(gasPhaseIdx)) - Opm::getValue(fs.saturation(waterPhaseIdx));
val.second = Opm::getValue(fs.saturation(oilPhaseIdx));
else if (key.first == "BPR")
val.second = Opm::getValue(fs.pressure(oilPhaseIdx));
else if (key.first == "BWKR" || key.first == "BKRW")