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) {
|
||||
rstKeywords["PBPD"] = 0;
|
||||
output.insert("PBUB",
|
||||
Opm::UnitSystem::measure::pressure,
|
||||
std::move( sd.getCellData("PBUB") ),
|
||||
data::TargetType::RESTART_AUXILIARY);
|
||||
output.insert("PDEW",
|
||||
Opm::UnitSystem::measure::pressure,
|
||||
std::move( sd.getCellData("PDEW") ),
|
||||
data::TargetType::RESTART_AUXILIARY);
|
||||
if (sd.hasCellData("PBUB")) {
|
||||
output.insert("PBUB",
|
||||
Opm::UnitSystem::measure::pressure,
|
||||
std::move( sd.getCellData("PBUB") ),
|
||||
data::TargetType::RESTART_AUXILIARY);
|
||||
}
|
||||
if (sd.hasCellData("PDEW")) {
|
||||
output.insert("PDEW",
|
||||
Opm::UnitSystem::measure::pressure,
|
||||
std::move( sd.getCellData("PDEW") ),
|
||||
data::TargetType::RESTART_AUXILIARY);
|
||||
}
|
||||
}
|
||||
|
||||
if (sd.hasCellData("SOMAX")) {
|
||||
|
Loading…
Reference in New Issue
Block a user