diff --git a/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.cpp b/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.cpp index 0dc670b78..59d60cd13 100644 --- a/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.cpp +++ b/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.cpp @@ -185,6 +185,8 @@ namespace Opm { return "RESV"; case PRBL: return "PRBL"; + case FLD: + return "FLD"; default: throw std::invalid_argument("Unhandled enum value"); } @@ -208,6 +210,8 @@ namespace Opm { return RESV; else if (stringValue == "PRBL") return PRBL; + else if (stringValue == "FLD") + return FLD; else throw std::invalid_argument("Unknown enum state string: " + stringValue ); } diff --git a/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp b/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp index 0977525dd..73392e7a1 100644 --- a/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp +++ b/opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp @@ -190,7 +190,8 @@ namespace Opm { LRAT = 4, CRAT = 5, RESV = 6, - PRBL = 7 + PRBL = 7, + FLD = 8 }; const std::string ControlEnum2String( GroupProduction::ControlEnum enumValue );