61enum class UDQVarType {
74enum class UDQTokenType{
98 elemental_func_randn = 23,
99 elemental_func_randu = 24,
100 elemental_func_rrandn = 25,
101 elemental_func_rrandu = 26,
102 elemental_func_abs = 27,
103 elemental_func_def = 28,
104 elemental_func_exp = 29,
105 elemental_func_idv = 30,
106 elemental_func_ln = 31,
107 elemental_func_log = 32,
108 elemental_func_nint = 33,
109 elemental_func_sorta = 34,
110 elemental_func_sortd = 35,
111 elemental_func_undef = 36,
113 scalar_func_sum = 37,
114 scalar_func_avea = 38,
115 scalar_func_aveg = 39,
116 scalar_func_aveh = 40,
117 scalar_func_max = 41,
118 scalar_func_min = 42,
119 scalar_func_norm1 = 43,
120 scalar_func_norm2 = 44,
121 scalar_func_normi = 45,
122 scalar_func_prod = 46,
129enum class UDQAction {
136enum class UDQUpdate {
142enum class UDAControl {
157 GCONPROD_WATER_TARGET,
159 GCONPROD_LIQUID_TARGET,
161 GCONINJE_SURFACE_MAX_RATE,
162 GCONINJE_RESV_MAX_RATE,
163 GCONINJE_TARGET_REINJ_FRACTION,
164 GCONINJE_TARGET_VOID_FRACTION,
176enum class UDAKeyword {
186 UDQVarType targetType(
const std::string& keyword,
const std::vector<std::string>& selector);
187 UDQVarType targetType(
const std::string& keyword);
188 UDQVarType varType(
const std::string& keyword);
189 UDQVarType coerce(UDQVarType t1, UDQVarType t2);
190 UDQAction actionType(
const std::string& action_string);
191 UDQUpdate updateType(
const std::string& update_string);
192 UDQUpdate updateType(
int int_value);
193 UDQTokenType tokenType(
const std::string& func_name);
194 UDQTokenType funcType(
const std::string& func_name);
195 bool binaryFunc(UDQTokenType token_type);
196 bool elementalUnaryFunc(UDQTokenType token_type);
197 bool scalarFunc(UDQTokenType token_type);
198 bool cmpFunc(UDQTokenType token_type);
199 bool setFunc(UDQTokenType token_type);
200 bool trailingSpace(UDQTokenType token_type);
201 bool leadingSpace(UDQTokenType token_type);
202 bool group_control(UDAControl control);
203 bool well_control(UDAControl control);
204 bool is_well_injection_control(UDAControl control,
const bool isInjector);
205 bool is_well_production_control(UDAControl control,
const bool isProducer);
206 bool is_group_injection_control(UDAControl control);
207 bool is_group_production_control(UDAControl control);
209 std::string typeName(UDQVarType var_type);
210 std::string controlName(UDAControl control);
211 UDAKeyword keyword(UDAControl control);
212 int udaCode(UDAControl control);
213 UDAControl udaControl(
int uda_code);
215 constexpr double restart_default = -0.3E+21;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29