mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
SimulatorFullyImplicitBlackoilOutput: print warnings instead of silently ignoring requests for bubble/dew point pressure output
This commit is contained in:
parent
7e388376af
commit
e24d8c3a57
@ -771,12 +771,20 @@ namespace Opm
|
||||
std::move( sd.getCellData("PBUB") ),
|
||||
data::TargetType::RESTART_AUXILIARY);
|
||||
}
|
||||
else if (log) {
|
||||
Opm::OpmLog::warning("Output of bubble point pressure requested but not available in this simulator. Ignoring.");
|
||||
}
|
||||
|
||||
if (sd.hasCellData("PDEW")) {
|
||||
output.insert("PDEW",
|
||||
Opm::UnitSystem::measure::pressure,
|
||||
std::move( sd.getCellData("PDEW") ),
|
||||
data::TargetType::RESTART_AUXILIARY);
|
||||
}
|
||||
else if (log) {
|
||||
Opm::OpmLog::warning("Output of dew point pressure requested but not available in this simulator. Ignoring.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (sd.hasCellData("SOMAX")) {
|
||||
|
Loading…
Reference in New Issue
Block a user