From bcb85606192b335c15d189e9498ca0cd6e137373 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Fri, 24 Feb 2023 22:32:02 +0100 Subject: [PATCH] Inplace: add missing enum entries in formatting function --- ebos/eclgenericoutputblackoilmodule.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ebos/eclgenericoutputblackoilmodule.cc b/ebos/eclgenericoutputblackoilmodule.cc index 027a7ee785a..35790eb799e 100644 --- a/ebos/eclgenericoutputblackoilmodule.cc +++ b/ebos/eclgenericoutputblackoilmodule.cc @@ -70,6 +70,11 @@ std::string EclString(Opm::Inplace::Phase phase) { case Opm::Inplace::Phase::OilResVolume: return "OIPR"; case Opm::Inplace::Phase::GasResVolume: return "GIPR"; case Opm::Inplace::Phase::SALT: return "SIP"; + case Opm::Inplace::Phase::CO2InWaterPhase: return "WCD"; + case Opm::Inplace::Phase::CO2InGasPhaseInMob: return "GCDI"; + case Opm::Inplace::Phase::CO2InGasPhaseMob: return "GCDM"; + case Opm::Inplace::Phase::WaterInGasPhase: return "WIPG"; + case Opm::Inplace::Phase::WaterInWaterPhase: return "WIPL"; default: throw std::logic_error(fmt::format("Phase enum with integer value: {} not recognized", static_cast(phase))); } }