adding FLD to the ControlEnum of GroupProduction
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user