Merge pull request #478 from totto82/add_extrapolate

extrapolate in calulateMoleFraction for CO2STORE
This commit is contained in:
Markus Blatt
2021-10-20 15:27:04 +02:00
committed by GitHub

View File

@@ -435,7 +435,8 @@ private:
salinity_[regionIdx],
/*knownPhaseIdx=*/-1,
xlCO2,
xgH2O);
xgH2O,
extrapolate);
// normalize the phase compositions
xlCO2 = max(0.0, min(1.0, xlCO2));