mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Extrapolate pvt properties in the extended blackoil model
This commit is contained in:
@@ -509,12 +509,12 @@ public:
|
|||||||
|
|
||||||
template <typename Value>
|
template <typename Value>
|
||||||
static Value pbubRs(unsigned pvtRegionIdx, const Value& z, const Value& rs) {
|
static Value pbubRs(unsigned pvtRegionIdx, const Value& z, const Value& rs) {
|
||||||
return PBUB_RS_[pvtRegionIdx].eval(z, rs);
|
return PBUB_RS_[pvtRegionIdx].eval(z, rs, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Value>
|
template <typename Value>
|
||||||
static Value pbubRv(unsigned pvtRegionIdx, const Value& z, const Value& rv) {
|
static Value pbubRv(unsigned pvtRegionIdx, const Value& z, const Value& rv) {
|
||||||
return PBUB_RV_[pvtRegionIdx].eval(z, rv);
|
return PBUB_RV_[pvtRegionIdx].eval(z, rv, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Value>
|
template <typename Value>
|
||||||
@@ -557,12 +557,12 @@ public:
|
|||||||
|
|
||||||
template <typename Value>
|
template <typename Value>
|
||||||
static Value oilCmp(unsigned pvtRegionIdx, const Value& z) {
|
static Value oilCmp(unsigned pvtRegionIdx, const Value& z) {
|
||||||
return oilCmp_[pvtRegionIdx].eval(z);
|
return oilCmp_[pvtRegionIdx].eval(z, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Value>
|
template <typename Value>
|
||||||
static Value gasCmp(unsigned pvtRegionIdx, const Value& z) {
|
static Value gasCmp(unsigned pvtRegionIdx, const Value& z) {
|
||||||
return gasCmp_[pvtRegionIdx].eval(z);
|
return gasCmp_[pvtRegionIdx].eval(z, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user