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:
commit
dc918fcff9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user