mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
@@ -675,8 +675,15 @@ public:
|
|||||||
if (this->gasConnectionSaturations_.count(cartesianIdx) > 0) {
|
if (this->gasConnectionSaturations_.count(cartesianIdx) > 0) {
|
||||||
this->gasConnectionSaturations_[cartesianIdx] = getValue(fs.saturation(gasPhaseIdx));
|
this->gasConnectionSaturations_[cartesianIdx] = getValue(fs.saturation(gasPhaseIdx));
|
||||||
}
|
}
|
||||||
if (this->wbpData_.count(cartesianIdx) > 0)
|
if (this->wbpData_.count(cartesianIdx) > 0) {
|
||||||
this->wbpData_[cartesianIdx] = getValue(fs.pressure(oilPhaseIdx));
|
if (FluidSystem::phaseIsActive(oilPhaseIdx)) {
|
||||||
|
this->wbpData_[cartesianIdx] = getValue(fs.pressure(oilPhaseIdx));
|
||||||
|
} else if (FluidSystem::phaseIsActive(gasPhaseIdx)) {
|
||||||
|
this->wbpData_[cartesianIdx] = getValue(fs.pressure(gasPhaseIdx));
|
||||||
|
} else if (FluidSystem::phaseIsActive(waterPhaseIdx)) {
|
||||||
|
this->wbpData_[cartesianIdx] = getValue(fs.pressure(waterPhaseIdx));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// tracers
|
// tracers
|
||||||
const auto& tracerModel = simulator_.problem().tracerModel();
|
const auto& tracerModel = simulator_.problem().tracerModel();
|
||||||
|
|||||||
Reference in New Issue
Block a user