mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
only output the bubble and dew point pressures if they are available
This commit is contained in:
parent
2b0ebe0832
commit
7e388376af
@ -765,14 +765,18 @@ namespace Opm
|
|||||||
*/
|
*/
|
||||||
if (vapour_active && liquid_active && rstKeywords["PBPD"] > 0) {
|
if (vapour_active && liquid_active && rstKeywords["PBPD"] > 0) {
|
||||||
rstKeywords["PBPD"] = 0;
|
rstKeywords["PBPD"] = 0;
|
||||||
output.insert("PBUB",
|
if (sd.hasCellData("PBUB")) {
|
||||||
Opm::UnitSystem::measure::pressure,
|
output.insert("PBUB",
|
||||||
std::move( sd.getCellData("PBUB") ),
|
Opm::UnitSystem::measure::pressure,
|
||||||
data::TargetType::RESTART_AUXILIARY);
|
std::move( sd.getCellData("PBUB") ),
|
||||||
output.insert("PDEW",
|
data::TargetType::RESTART_AUXILIARY);
|
||||||
Opm::UnitSystem::measure::pressure,
|
}
|
||||||
std::move( sd.getCellData("PDEW") ),
|
if (sd.hasCellData("PDEW")) {
|
||||||
data::TargetType::RESTART_AUXILIARY);
|
output.insert("PDEW",
|
||||||
|
Opm::UnitSystem::measure::pressure,
|
||||||
|
std::move( sd.getCellData("PDEW") ),
|
||||||
|
data::TargetType::RESTART_AUXILIARY);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sd.hasCellData("SOMAX")) {
|
if (sd.hasCellData("SOMAX")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user