Branch data Line data Source code
1 : : // ***************************************************************************** 2 : : /*! 3 : : \file src/Control/Tags.hpp 4 : : \copyright 2012-2015 J. Bakosi, 5 : : 2016-2018 Los Alamos National Security, LLC., 6 : : 2019-2021 Triad National Security, LLC. 7 : : All rights reserved. See the LICENSE file for details. 8 : : \brief Tags 9 : : \details Tags are unique types, used for metaprogramming. 10 : : */ 11 : : // ***************************************************************************** 12 : : #ifndef Tags_h 13 : : #define Tags_h 14 : : 15 : : #include <string> 16 : : #include "TaggedTuple.hpp" 17 : : 18 : : //! Tags used as unique-type labels for compile-time code-generation 19 : : namespace tag { 20 : : 21 : : struct low {}; 22 : : struct high {}; 23 [ + - ]: 192 : struct io { static std::string name() { return "io"; } }; 24 [ + - ]: 192 : struct quiescence { static std::string name() { return "quiescence"; } }; 25 [ + - ]: 192 : struct trace { static std::string name() { return "trace"; } }; 26 [ + - ]: 192 : struct version { static std::string name() { return "version"; } }; 27 [ + - ]: 192 : struct license { static std::string name() { return "license"; } }; 28 [ + - ]: 192 : struct input { static std::string name() { return "input"; } }; 29 [ + - ]: 192 : struct output { static std::string name() { return "output"; } }; 30 [ + - ]: 192 : struct screen { static std::string name() { return "screen"; } }; 31 [ + - ]: 192 : struct restart { static std::string name() { return "restart"; } }; 32 [ + - ]: 192 : struct nrestart { static std::string name() { return "nrestart"; } }; 33 [ + - ]: 192 : struct diag { static std::string name() { return "diag"; } }; 34 : : struct history { static std::string name() { return "history"; } }; 35 : : struct evalLB {}; 36 [ + - ]: 192 : struct verbose { static std::string name() { return "verbose"; } }; 37 [ + - ]: 192 : struct nonblocking { static std::string name() { return "nonblocking"; } }; 38 [ + - ]: 192 : struct benchmark { static std::string name() { return "benchmark"; } }; 39 : : struct lboff {}; 40 [ + - ]: 192 : struct feedback { static std::string name() { return "feedback"; } }; 41 : : struct reorder { static std::string name() { return "reorder"; } }; 42 [ + - ]: 192 : struct lbfreq { static std::string name() { return "lbfreq"; } }; 43 [ + - ]: 192 : struct rsfreq { static std::string name() { return "rsfreq"; } }; 44 : : struct pdf { static std::string name() { return "pdf"; } }; 45 : : struct nchare {}; 46 : : struct bounds {}; 47 : : struct ordinary {}; 48 : : struct central {}; 49 : : struct binsize { static std::string name() { return "binsize"; } }; 50 : : struct extent { static std::string name() { return "extent"; } }; 51 : : struct tolderef { static std::string name() { return "tolderef"; } }; 52 : : struct partitioner { static std::string name() { return "partitioner"; } }; 53 : : struct partitioned { static std::string name() { return "partitioned"; } }; 54 : : struct initpolicy { static std::string name() { return "initpolicy"; } }; 55 : : struct coeffpolicy { static std::string name() { return "coeffpolicy"; } }; 56 : : struct montecarlo {}; 57 : : struct matched {}; 58 : : struct compatibility {}; 59 : : struct bndint {}; 60 : : struct part { static std::string name() { return "part"; } }; 61 [ + - ]: 192 : struct particles { static std::string name() { return "particles"; } }; 62 : : struct centroid {}; 63 : : struct tty { static std::string name() { return "tty"; } }; 64 : : struct dump {}; 65 : : struct plot {}; 66 : : struct glob {}; 67 [ + - ]: 192 : struct control { static std::string name() { return "control"; } }; 68 : : struct stat { static std::string name() { return "stat"; } }; 69 : : struct field { static std::string name() { return "field"; } }; 70 [ + - ]: 192 : struct surface { static std::string name() { return "surface"; } }; 71 : : struct b { static std::string name() { return "b"; } }; 72 : : struct S { static std::string name() { return "S"; } }; 73 : : struct r { static std::string name() { return "r"; } }; 74 : : struct c { static std::string name() { return "c"; } }; 75 : : struct c0 { static std::string name() { return "c0"; } }; 76 : : struct c1 {}; 77 : : struct c2 {}; 78 : : struct c3 { static std::string name() { return "c3"; } }; 79 : : struct c4 { static std::string name() { return "c4"; } }; 80 : : struct mean { static std::string name() { return "mean"; } }; 81 : : struct cov { static std::string name() { return "cov"; } }; 82 : : struct timescale { static std::string name() { return "timescale"; } }; 83 [ + - ]: 192 : struct virtualization {static std::string name() { return "virtualization"; }}; 84 : : struct hydro {}; 85 : : struct mix {}; 86 : : struct frequency {}; 87 : : struct mixrate {}; 88 : : struct selected { static std::string name() { return "selected"; } }; 89 : : struct discr { static std::string name() { return "discr"; } }; 90 : : struct component { static std::string name() { return "component"; } }; 91 : : struct iter { static std::string name() { return "iter"; } }; 92 : : struct time { static std::string name() { return "time"; } }; 93 : : struct range { static std::string name() { return "range"; } }; 94 : : struct param { static std::string name() { return "param"; } }; 95 : : struct init { static std::string name() { return "init"; } }; 96 : : struct solve { static std::string name() { return "solve"; } }; 97 [ + - ]: 192 : struct chare { static std::string name() { return "chare"; } }; 98 : : struct battery { static std::string name() { return "battery"; } }; 99 : : struct generator {}; 100 [ + - ]: 192 : struct help { static std::string name() { return "help"; } }; 101 [ + - ]: 192 : struct helpctr { static std::string name() { return "helpctr"; } }; 102 : : struct helpkw {}; 103 : : struct cmdinfo {}; 104 : : struct group { static std::string name() { return "group"; } }; 105 : : struct esup {}; 106 : : struct psup {}; 107 : : struct gid {}; 108 : : struct position_id { static std::string name() { return "position_id"; } }; 109 : : struct velocity_id { static std::string name() { return "velocity_id"; } }; 110 : : struct dissipation_id { 111 : : static std::string name() { return "dissipation_id"; } }; 112 : : struct mixmassfracbeta_id { 113 : : static std::string name() { return "mixmassfracbeta_id"; } }; 114 : : struct edge { static std::string name() { return "edge"; } }; 115 : : struct com {}; 116 : : struct queried {}; 117 : : struct responded {}; 118 : : struct refinserted {}; 119 : : struct discinserted {}; 120 : : struct disccreated {}; 121 : : struct workinserted {}; 122 : : struct distributed {}; 123 : : struct load {}; 124 : : struct bcast {}; 125 : : struct elem {}; 126 : : struct avecost {}; 127 : : struct stdcost {}; 128 : : struct update {}; 129 : : struct ch {}; 130 : : struct pe {}; 131 : : struct it {}; 132 : : struct node {}; 133 : : 134 : 192 : DEFTAG(cmd); 135 : : DEFTAG(ctrinfo); 136 : : 137 : 192 : DEFTAG(title); 138 : 192 : DEFTAG(nstep); 139 : 192 : DEFTAG(term); 140 : 192 : DEFTAG(t0); 141 : 192 : DEFTAG(dt); 142 : 192 : DEFTAG(cfl); 143 : 192 : DEFTAG(ttyi); 144 : 192 : DEFTAG(steady_state); 145 : 192 : DEFTAG(residual); 146 : 192 : DEFTAG(rescomp); 147 : 192 : DEFTAG(partitioning); 148 : 192 : DEFTAG(pelocal_reorder); 149 : 192 : DEFTAG(operator_reorder); 150 : 192 : DEFTAG(scheme); 151 : 192 : DEFTAG(ndof); 152 : 192 : DEFTAG(rdof); 153 : 192 : DEFTAG(flux); 154 : 192 : DEFTAG(lowspeed_kp); 155 : 192 : DEFTAG(limiter); 156 : 192 : DEFTAG(cweight); 157 : 192 : DEFTAG(shock_detector_coeff); 158 : 192 : DEFTAG(accuracy_test); 159 : 192 : DEFTAG(limsol_projection); 160 : 192 : DEFTAG(imex_runge_kutta); 161 : 192 : DEFTAG(imex_maxiter); 162 : 192 : DEFTAG(imex_reltol); 163 : 192 : DEFTAG(imex_abstol); 164 : : 165 : 536 : DEFTAG(ncomp); 166 : 192 : DEFTAG(pde); 167 : 1231 : DEFTAG(problem); 168 : 192 : DEFTAG(transport); 169 : 192 : DEFTAG(compflow); 170 : 192 : DEFTAG(multimat); 171 : 192 : DEFTAG(multispecies); 172 : 344 : DEFTAG(diffusivity); 173 : 344 : DEFTAG(lambda); 174 : 344 : DEFTAG(u0); 175 : 658 : DEFTAG(alpha); 176 : 396 : DEFTAG(beta); 177 : 396 : DEFTAG(betax); 178 : 396 : DEFTAG(betay); 179 : 396 : DEFTAG(betaz); 180 : 396 : DEFTAG(r0); 181 : 396 : DEFTAG(p0); 182 : 396 : DEFTAG(ce); 183 : 396 : DEFTAG(kappa); 184 : 293 : DEFTAG(nmat); 185 : 198 : DEFTAG(nspec); 186 : 293 : DEFTAG(prelax); 187 : 293 : DEFTAG(prelax_timescale); 188 : 637 : DEFTAG(intsharp); 189 : 637 : DEFTAG(intsharp_param); 190 : 293 : DEFTAG(rho0constraint); 191 : 293 : DEFTAG(dt_sos_massavg); 192 : 491 : DEFTAG(viscous); 193 : 192 : DEFTAG(depvar); 194 : 192 : DEFTAG(sys); 195 : 1231 : DEFTAG(physics); 196 : : 197 : 192 : DEFTAG(material); 198 : 192 : DEFTAG(species); 199 : 262 : DEFTAG(eos); 200 : 370 : DEFTAG(id); 201 : 362 : DEFTAG(gamma); 202 : 262 : DEFTAG(pstiff); 203 : 262 : DEFTAG(w_gru); 204 : 262 : DEFTAG(A_jwl); 205 : 262 : DEFTAG(B_jwl); 206 : 262 : DEFTAG(C_jwl); 207 : 262 : DEFTAG(R1_jwl); 208 : 262 : DEFTAG(R2_jwl); 209 : 262 : DEFTAG(rho0_jwl); 210 : 262 : DEFTAG(de_jwl); 211 : 262 : DEFTAG(rhor_jwl); 212 : 262 : DEFTAG(Tr_jwl); 213 : 262 : DEFTAG(Pr_jwl); 214 : 262 : DEFTAG(mu); 215 : 262 : DEFTAG(cv); 216 : 262 : DEFTAG(k); 217 : 192 : DEFTAG(matidxmap); 218 : 192 : DEFTAG(eosidx); 219 : 192 : DEFTAG(matidx); 220 : 192 : DEFTAG(solidx); 221 : 262 : DEFTAG(yield_stress); 222 : 262 : DEFTAG(K0); 223 : 100 : DEFTAG(R); 224 : 100 : DEFTAG(cp_coeff); 225 : 100 : DEFTAG(t_range); 226 : 100 : DEFTAG(dH_ref); 227 : : 228 : 192 : DEFTAG(field_output); 229 : 1316 : DEFTAG(interval); 230 : 812 : DEFTAG(time_interval); 231 : 812 : DEFTAG(time_range); 232 : 803 : DEFTAG(refined); 233 : 611 : DEFTAG(elemvar); 234 : 611 : DEFTAG(elemalias); 235 : 611 : DEFTAG(nodevar); 236 : 611 : DEFTAG(nodealias); 237 : 611 : DEFTAG(filetype); 238 : 624 : DEFTAG(sideset); 239 : 803 : DEFTAG(outvar); 240 : 192 : DEFTAG(diagnostics); 241 : 888 : DEFTAG(error); 242 : 705 : DEFTAG(format); 243 : 705 : DEFTAG(precision); 244 : 192 : DEFTAG(history_output); 245 : 297 : DEFTAG(point); 246 : 8 : DEFTAG(coord); 247 : : 248 : 384 : DEFTAG(ale); 249 : 192 : DEFTAG(smoother); 250 : 192 : DEFTAG(mesh_velocity); 251 : 192 : DEFTAG(mesh_motion); 252 : 192 : DEFTAG(meshforce); 253 : 192 : DEFTAG(dvcfl); 254 : 192 : DEFTAG(vortmult); 255 : 192 : DEFTAG(maxit); 256 : 192 : DEFTAG(tolerance); 257 : 192 : DEFTAG(move); 258 : 2 : DEFTAG(fntype); 259 : 4 : DEFTAG(fn); 260 : : 261 : 384 : DEFTAG(amr); 262 : 192 : DEFTAG(t0ref); 263 : 192 : DEFTAG(dtref); 264 : 192 : DEFTAG(dtref_uniform); 265 : 192 : DEFTAG(dtfreq); 266 : 192 : DEFTAG(maxlevels); 267 : 192 : DEFTAG(initial); 268 : 192 : DEFTAG(edgelist); 269 : 192 : DEFTAG(coords); 270 : 192 : DEFTAG(xminus); 271 : 192 : DEFTAG(xplus); 272 : 192 : DEFTAG(yminus); 273 : 192 : DEFTAG(yplus); 274 : 192 : DEFTAG(zminus); 275 : 192 : DEFTAG(zplus); 276 : 192 : DEFTAG(refvar); 277 : 192 : DEFTAG(tol_refine); 278 : 192 : DEFTAG(tol_derefine); 279 : 384 : DEFTAG(pref); 280 : 192 : DEFTAG(indicator); 281 : 192 : DEFTAG(ndofmax); 282 : 192 : DEFTAG(tolref); 283 : : 284 : 192 : DEFTAG(bc); 285 : 636 : DEFTAG(mesh); 286 : 636 : DEFTAG(dirichlet); 287 : 636 : DEFTAG(symmetry); 288 : 444 : DEFTAG(inlet); 289 : 444 : DEFTAG(outlet); 290 : 444 : DEFTAG(farfield); 291 : 444 : DEFTAG(extrapolate); 292 : 444 : DEFTAG(noslipwall); 293 : 444 : DEFTAG(timedep); 294 : : 295 : 192 : DEFTAG(rigid_body_motion); 296 : 192 : DEFTAG(rigid_body_movt); 297 : 192 : DEFTAG(rigid_body_dof); 298 : 192 : DEFTAG(symmetry_plane); 299 : : 300 : 192 : DEFTAG(ic); 301 : 800 : DEFTAG(materialid); 302 : 800 : DEFTAG(pressure); 303 : 800 : DEFTAG(temperature); 304 : 800 : DEFTAG(velocity); 305 : 791 : DEFTAG(mass_fractions); 306 : 251 : DEFTAG(box); 307 : 251 : DEFTAG(meshblock); 308 : 0 : DEFTAG(blockid); 309 : 96 : DEFTAG(volume); 310 : 301 : DEFTAG(mass); 311 : 791 : DEFTAG(density); 312 : 347 : DEFTAG(energy); 313 : 96 : DEFTAG(energy_content); 314 : 96 : DEFTAG(xmin); 315 : 96 : DEFTAG(xmax); 316 : 96 : DEFTAG(ymin); 317 : 96 : DEFTAG(ymax); 318 : 96 : DEFTAG(zmin); 319 : 96 : DEFTAG(zmax); 320 : 301 : DEFTAG(orientation); 321 : 96 : DEFTAG(initiate); 322 : 96 : DEFTAG(init_time); 323 : 96 : DEFTAG(front_width); 324 : 96 : DEFTAG(front_speed); 325 : : 326 : 205 : DEFTAG(filename); 327 : 205 : DEFTAG(location); 328 : 192 : DEFTAG(transfer); 329 : 205 : DEFTAG(moment_of_inertia); 330 : 205 : DEFTAG(center_of_mass); 331 : : 332 : : struct BirthdaySpacings {}; 333 : : 334 : : } // tag:: 335 : : 336 : : #endif // Tags_h