83enum class UDQTokenType
108 elemental_func_randn = 23,
109 elemental_func_randu = 24,
110 elemental_func_rrandn = 25,
111 elemental_func_rrandu = 26,
112 elemental_func_abs = 27,
113 elemental_func_def = 28,
114 elemental_func_exp = 29,
115 elemental_func_idv = 30,
116 elemental_func_ln = 31,
117 elemental_func_log = 32,
118 elemental_func_nint = 33,
119 elemental_func_sorta = 34,
120 elemental_func_sortd = 35,
121 elemental_func_undef = 36,
123 scalar_func_sum = 37,
124 scalar_func_avea = 38,
125 scalar_func_aveg = 39,
126 scalar_func_aveh = 40,
127 scalar_func_max = 41,
128 scalar_func_min = 42,
129 scalar_func_norm1 = 43,
130 scalar_func_norm2 = 44,
131 scalar_func_normi = 45,
132 scalar_func_prod = 46,
135 table_lookup_start = 48,
136 table_lookup_end = 49,
173 GCONPROD_WATER_TARGET,
175 GCONPROD_LIQUID_TARGET,
176 GCONPROD_RESV_TARGET,
178 GCONINJE_SURFACE_MAX_RATE,
179 GCONINJE_RESV_MAX_RATE,
180 GCONINJE_TARGET_REINJ_FRACTION,
181 GCONINJE_TARGET_VOID_FRACTION,
235 UDQVarType targetType(
const std::string& keyword,
const std::vector<std::string>& selector);
236 UDQVarType targetType(
const std::string& keyword);
237 UDQVarType varType(
const std::string& keyword);
238 UDQVarType coerce(UDQVarType t1, UDQVarType t2);
240 UDQAction actionType(
const std::string& action_string);
242 UDQUpdate updateType(
const std::string& update_string);
243 UDQUpdate updateType(
int int_value);
245 UDQTokenType tokenType(
const std::string& func_name);
246 UDQTokenType funcType(
const std::string& func_name);
248 bool binaryFunc(UDQTokenType token_type);
249 bool elementalUnaryFunc(UDQTokenType token_type);
250 bool scalarFunc(UDQTokenType token_type);
251 bool cmpFunc(UDQTokenType token_type);
252 bool setFunc(UDQTokenType token_type);
253 bool trailingSpace(UDQTokenType token_type);
254 bool leadingSpace(UDQTokenType token_type);
255 bool group_control(UDAControl control);
256 bool well_control(UDAControl control);
257 bool is_well_injection_control(UDAControl control,
const bool isInjector);
258 bool is_well_production_control(UDAControl control,
const bool isProducer);
259 bool is_group_injection_control(UDAControl control);
260 bool is_group_production_control(UDAControl control);
262 std::string typeName(UDQVarType var_type);
263 std::string controlName(UDAControl control);
265 UDAKeyword keyword(UDAControl control);
267 enum class RstFileUDAVersion {
271 RstFileUDAVersion rstFileUDAVersion(
const int rstFileVersion);
273 int udaCode(UDAControl control);
274 UDAControl udaControl(
int uda_code, RstFileUDAVersion udaVersion = RstFileUDAVersion::vCurr);
276 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:30
Collection of specific Schedule objects named in a UDQ definition.
Definition UDQEnums.hpp:206
EnumeratedObjects msWells
Multi-segmented wells and specific segment numbers named in UDQ definition.
Definition UDQEnums.hpp:229
std::map< std::string, std::set< std::size_t > > EnumeratedObjects
Collection of named and enumerated objects.
Definition UDQEnums.hpp:214
std::set< std::string > NamedObjects
Collection of named objects–typically wells or groups.
Definition UDQEnums.hpp:208
NamedObjects wells
Wells named in a UDQ definition.
Definition UDQEnums.hpp:220
EnumeratedObjects regions
Specific region sets and region IDs named in UDQ definition.
Definition UDQEnums.hpp:232
NamedObjects groups
Groups named in a UDQ definition.
Definition UDQEnums.hpp:225