Merge pull request #947 from andlaus/fix_wet_gas_pvt_extrapolation

PvtLiveGas: do not special case in the extrapolation code
This commit is contained in:
Atgeirr Flø Rasmussen 2016-02-16 12:44:53 +01:00
commit dc918fcff9

View File

@ -574,12 +574,6 @@ namespace Opm
press);
} else { // Undersaturated case
int is = tableIndex(saturatedGasTable[0], press);
// Extrapolate from first table section
if (is == 0 && press < saturatedGasTable[0][0]) {
return linearInterpolation(undersatGasTables[0][0],
undersatGasTables[0][item],
r);
}
// Extrapolate from last table section
//int ltp = saturatedGasTable[0].size() - 1;