Branch data Line data Source code
1 : : // *****************************************************************************
2 : : /*!
3 : : \file src/Control/Inciter/InputDeck/InputDeck.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 Inciter's new input deck definition
9 : : \details This file defines the heterogeneous struct that is used for storing
10 : : the data from user input during the control file parsing of the
11 : : computational shock hydrodynamics tool, Inciter.
12 : : */
13 : : // *****************************************************************************
14 : : #ifndef InputDeck_h
15 : : #define InputDeck_h
16 : :
17 : : #include <getopt.h>
18 : : #include "Types.hpp"
19 : : #include "TaggedTuple.hpp"
20 : : #include "Inciter/CmdLine/CmdLine.hpp"
21 : : #include "Transfer.hpp"
22 : : #include "Inciter/OutVar.hpp"
23 : : #include "Inciter/Options/PDE.hpp"
24 : : #include "Inciter/Options/Problem.hpp"
25 : : #include "Inciter/Options/Scheme.hpp"
26 : : #include "Inciter/Options/Limiter.hpp"
27 : : #include "Inciter/Options/Flux.hpp"
28 : : #include "Inciter/Options/Initiate.hpp"
29 : : #include "Inciter/Options/AMRInitial.hpp"
30 : : #include "Inciter/Options/AMRError.hpp"
31 : : #include "Inciter/Options/PrefIndicator.hpp"
32 : : #include "Inciter/Options/MeshVelocity.hpp"
33 : : #include "Inciter/Options/MeshVelocitySmoother.hpp"
34 : : #include "Inciter/Options/Material.hpp"
35 : : #include "Options/PartitioningAlgorithm.hpp"
36 : : #include "Options/TxtFloatFormat.hpp"
37 : : #include "Options/FieldFile.hpp"
38 : : #include "Options/Error.hpp"
39 : : #include "Options/UserTable.hpp"
40 : :
41 : : namespace inciter {
42 : :
43 : : namespace ctr {
44 : :
45 : : using ncomp_t = std::size_t;
46 : :
47 : : using bclist = tk::TaggedTuple< brigand::list<
48 : : tag::dirichlet, std::vector< std::size_t >,
49 : : tag::symmetry, std::vector< std::size_t >,
50 : : tag::outlet, std::vector< std::size_t >,
51 : : tag::farfield, std::vector< std::size_t >,
52 : : tag::extrapolate, std::vector< std::size_t >,
53 : : tag::noslipwall, std::vector< std::size_t >
54 : : > >;
55 : :
56 : : // Transport
57 : : using transportList = tk::TaggedTuple< brigand::list<
58 : : tag::physics, PhysicsType,
59 : : tag::ncomp, std::size_t,
60 : : tag::intsharp, int,
61 : : tag::intsharp_param, tk::real,
62 : : tag::problem, ProblemType,
63 : : tag::diffusivity, std::vector< tk::real >,
64 : : tag::lambda, std::vector< tk::real >,
65 : : tag::u0, std::vector< tk::real >
66 : : > >;
67 : :
68 : : // CompFlow
69 : : using compflowList = tk::TaggedTuple< brigand::list<
70 : : tag::physics, PhysicsType,
71 : : tag::problem, ProblemType,
72 : : tag::alpha, tk::real,
73 : : tag::beta, tk::real,
74 : : tag::betax, tk::real,
75 : : tag::betay, tk::real,
76 : : tag::betaz, tk::real,
77 : : tag::r0, tk::real,
78 : : tag::p0, tk::real,
79 : : tag::ce, tk::real,
80 : : tag::kappa, tk::real
81 : : > >;
82 : :
83 : : // MultiMat
84 : : using multimatList = tk::TaggedTuple< brigand::list<
85 : : tag::physics, PhysicsType,
86 : : tag::nmat, std::size_t,
87 : : tag::prelax, uint64_t,
88 : : tag::prelax_timescale, tk::real,
89 : : tag::intsharp, int,
90 : : tag::intsharp_param, tk::real,
91 : : tag::rho0constraint, uint64_t,
92 : : tag::dt_sos_massavg, int,
93 : : tag::problem, ProblemType,
94 : : tag::viscous, bool
95 : : > >;
96 : :
97 : : // MultiSpecies
98 : : using multispeciesList = tk::TaggedTuple< brigand::list<
99 : : tag::physics, PhysicsType,
100 : : tag::nspec, std::size_t,
101 : : tag::problem, ProblemType,
102 : : tag::viscous, bool
103 : : > >;
104 : :
105 : : // Material/EOS object
106 : : using materialList = tk::TaggedTuple< brigand::list<
107 : : tag::eos, MaterialType,
108 : : tag::id, std::vector< uint64_t >,
109 : : tag::gamma, std::vector< tk::real >,
110 : : tag::pstiff, std::vector< tk::real >,
111 : : tag::w_gru, std::vector< tk::real >,
112 : : tag::A_jwl, std::vector< tk::real >,
113 : : tag::B_jwl, std::vector< tk::real >,
114 : : tag::C_jwl, std::vector< tk::real >,
115 : : tag::R1_jwl, std::vector< tk::real >,
116 : : tag::R2_jwl, std::vector< tk::real >,
117 : : tag::rho0_jwl, std::vector< tk::real >,
118 : : tag::de_jwl, std::vector< tk::real >,
119 : : tag::rhor_jwl, std::vector< tk::real >,
120 : : tag::Tr_jwl, std::vector< tk::real >,
121 : : tag::Pr_jwl, std::vector< tk::real >,
122 : : tag::mu, std::vector< tk::real >,
123 : : tag::yield_stress, std::vector< tk::real >,
124 : : tag::cv, std::vector< tk::real >,
125 : : tag::k, std::vector< tk::real >
126 : : > >;
127 : :
128 : : // Species/EOS object
129 : : using speciesList = tk::TaggedTuple< brigand::list<
130 : : tag::id, std::vector< uint64_t >,
131 : : tag::gamma, std::vector< tk::real >,
132 : : tag::R, std::vector< tk::real >,
133 : : tag::cp_coeff, std::vector< std::vector< std::vector< tk::real > > >,
134 : : tag::t_range, std::vector< std::vector< tk::real > >,
135 : : tag::dH_ref, std::vector< tk::real >
136 : : > >;
137 : :
138 : : // Boundary conditions block
139 : : using bcList = tk::TaggedTuple< brigand::list<
140 : : tag::mesh, std::vector< std::size_t >,
141 : : tag::dirichlet, std::vector< std::size_t >,
142 : : tag::symmetry, std::vector< std::size_t >,
143 : : tag::outlet, std::vector< std::size_t >,
144 : : tag::farfield, std::vector< std::size_t >,
145 : : tag::extrapolate, std::vector< std::size_t >,
146 : : tag::noslipwall, std::vector< std::size_t >,
147 : : tag::stag_point, std::vector< tk::real >,
148 : : tag::radius, tk::real,
149 : : tag::velocity, std::vector< tk::real >,
150 : : tag::pressure, tk::real,
151 : : tag::density, tk::real,
152 : : tag::temperature, tk::real,
153 : : tag::mass_fractions, std::vector< tk::real >,
154 : : tag::materialid, std::size_t,
155 : : tag::inlet, std::vector<
156 : : tk::TaggedTuple< brigand::list<
157 : : tag::sideset, std::vector< uint64_t >,
158 : : tag::velocity, std::vector< tk::real >,
159 : : tag::pressure, tk::real,
160 : : tag::temperature, tk::real,
161 : : tag::materialid, std::size_t
162 : : > >
163 : : >,
164 : : tag::timedep, std::vector<
165 : : tk::TaggedTuple< brigand::list<
166 : : tag::sideset, std::vector< uint64_t >,
167 : : tag::fn, std::vector< tk::real >
168 : : > >
169 : : >
170 : : > >;
171 : :
172 : : // IC box
173 : : using boxList = tk::TaggedTuple< brigand::list<
174 : : tag::materialid, std::size_t,
175 : : tag::volume, tk::real,
176 : : tag::mass, tk::real,
177 : : tag::density, tk::real,
178 : : tag::velocity, std::vector< tk::real >,
179 : : tag::pressure, tk::real,
180 : : tag::energy, tk::real,
181 : : tag::energy_content, tk::real,
182 : : tag::temperature, tk::real,
183 : : tag::mass_fractions, std::vector< tk::real >,
184 : : tag::xmin, tk::real,
185 : : tag::xmax, tk::real,
186 : : tag::ymin, tk::real,
187 : : tag::ymax, tk::real,
188 : : tag::zmin, tk::real,
189 : : tag::zmax, tk::real,
190 : : tag::orientation, std::vector< tk::real >,
191 : : tag::initiate, inciter::ctr::InitiateType,
192 : : tag::point, std::vector< tk::real >,
193 : : tag::init_time, tk::real,
194 : : tag::front_width, tk::real,
195 : : tag::front_speed, tk::real
196 : : > >;
197 : :
198 : : // IC meshblock
199 : : using meshblockList = tk::TaggedTuple< brigand::list<
200 : : tag::blockid, std::uint64_t,
201 : : tag::materialid, std::size_t,
202 : : tag::volume, tk::real,
203 : : tag::mass, tk::real,
204 : : tag::density, tk::real,
205 : : tag::velocity, std::vector< tk::real >,
206 : : tag::pressure, tk::real,
207 : : tag::energy, tk::real,
208 : : tag::energy_content, tk::real,
209 : : tag::temperature, tk::real,
210 : : tag::mass_fractions, std::vector< tk::real >,
211 : : tag::initiate, inciter::ctr::InitiateType,
212 : : tag::point, std::vector< tk::real >,
213 : : tag::init_time, tk::real,
214 : : tag::front_width, tk::real,
215 : : tag::front_speed, tk::real
216 : : > >;
217 : :
218 : : // Initial conditions (ic) block
219 : : using icList = tk::TaggedTuple< brigand::list<
220 : : tag::materialid, std::size_t,
221 : : tag::pressure, tk::real,
222 : : tag::temperature, tk::real,
223 : : tag::mass_fractions, std::vector< tk::real >,
224 : : tag::density, tk::real,
225 : : tag::energy, tk::real,
226 : : tag::velocity, std::vector< tk::real >,
227 : : tag::box, std::vector< boxList >,
228 : : tag::meshblock, std::vector< meshblockList >
229 : : > >;
230 : :
231 : : // Overset mesh block
232 : : using meshList = tk::TaggedTuple< brigand::list<
233 : : tag::filename, std::string,
234 : : tag::location, std::vector< tk::real >,
235 : : tag::orientation, std::vector< tk::real >,
236 : : tag::mass, tk::real
237 : : > >;
238 : :
239 : : // Field output block
240 : : using fieldOutputList = tk::TaggedTuple< brigand::list<
241 : : tag::interval, uint32_t,
242 : : tag::time_interval, tk::real,
243 : : tag::time_range, std::vector< tk::real >,
244 : : tag::refined, bool,
245 : : tag::filetype, tk::ctr::FieldFileType,
246 : : tag::sideset, std::vector< uint64_t >,
247 : : tag::outvar, std::vector< OutVar >,
248 : : tag::elemalias, std::vector< std::string >, // only for error checking
249 : : tag::elemvar, std::vector< std::string >, // only for error checking
250 : : tag::nodealias, std::vector< std::string >, // only for error checking
251 : : tag::nodevar, std::vector< std::string > // only for error checking
252 : : > >;
253 : :
254 : : // Diagnostics block
255 : : using diagnosticsList = tk::TaggedTuple< brigand::list<
256 : : tag::interval, uint32_t,
257 : : tag::error, tk::ctr::ErrorType,
258 : : tag::format, tk::ctr::TxtFloatFormatType,
259 : : tag::precision, std::streamsize
260 : : > >;
261 : :
262 : : // History output block
263 : : using historyOutputList = tk::TaggedTuple< brigand::list<
264 : : tag::interval, uint32_t,
265 : : tag::time_interval, tk::real,
266 : : tag::time_range, std::vector< tk::real >,
267 : : tag::format, tk::ctr::TxtFloatFormatType,
268 : : tag::precision, std::streamsize,
269 : : tag::point, std::vector<
270 : : tk::TaggedTuple< brigand::list<
271 : : tag::id, std::string,
272 : : tag::coord, std::vector< tk::real >
273 : : > >
274 : : >
275 : : > >;
276 : :
277 : : using ConfigMembers = brigand::list<
278 : :
279 : : tag::title, std::string,
280 : :
281 : : // Command line parameters
282 : : tag::cmd, CmdLine,
283 : :
284 : : // time stepping options
285 : : tag::nstep, uint64_t,
286 : : tag::term, tk::real,
287 : : tag::t0, tk::real,
288 : : tag::dt, tk::real,
289 : : tag::cfl, tk::real,
290 : : tag::ttyi, uint32_t,
291 : : tag::imex_runge_kutta, uint32_t,
292 : : tag::imex_maxiter, uint32_t,
293 : : tag::imex_reltol, tk::real,
294 : : tag::imex_abstol, tk::real,
295 : :
296 : : // steady-state solver options
297 : : tag::steady_state, bool,
298 : : tag::residual, tk::real,
299 : : tag::rescomp, uint32_t,
300 : :
301 : : // mesh partitioning and reordering/sorting choices
302 : : tag::partitioning, tk::ctr::PartitioningAlgorithmType,
303 : : tag::pelocal_reorder, bool,
304 : : tag::operator_reorder, bool,
305 : :
306 : : // discretization scheme choices
307 : : tag::scheme, SchemeType,
308 : : tag::ndof, std::size_t,
309 : : tag::rdof, std::size_t,
310 : : tag::flux, FluxType,
311 : : tag::lowspeed_kp, tk::real,
312 : :
313 : : // limiter options
314 : : tag::limiter, LimiterType,
315 : : tag::cweight, tk::real,
316 : : tag::shock_detector_coeff, tk::real,
317 : : tag::accuracy_test, bool,
318 : : tag::limsol_projection, bool,
319 : :
320 : : // PDE options
321 : : tag::ncomp, std::size_t,
322 : : tag::pde, PDEType,
323 : : tag::transport, transportList,
324 : : tag::compflow, compflowList,
325 : : tag::multimat, multimatList,
326 : : tag::multispecies, multispeciesList,
327 : :
328 : : // Dependent variable name
329 : : tag::depvar, std::vector< char >,
330 : :
331 : : tag::sys, std::map< std::size_t, std::size_t >,
332 : :
333 : : tag::material, std::vector< materialList >,
334 : :
335 : : tag::species, std::vector< speciesList >,
336 : :
337 : : tag::matidxmap, tk::TaggedTuple< brigand::list<
338 : : tag::eosidx, std::vector< std::size_t >,
339 : : tag::matidx, std::vector< std::size_t >,
340 : : tag::solidx, std::vector< std::size_t >
341 : : > >,
342 : :
343 : : // Conditions
344 : : tag::bc, std::vector< bcList >,
345 : : tag::ic, icList,
346 : : tag::mesh, std::vector< meshList >,
347 : : tag::transfer, std::vector< Transfer >,
348 : :
349 : : // Rigid-body motion solver
350 : : tag::rigid_body_motion, tk::TaggedTuple< brigand::list<
351 : : tag::rigid_body_movt, bool,
352 : : tag::rigid_body_dof, std::size_t,
353 : : tag::symmetry_plane, std::size_t
354 : : > >,
355 : :
356 : : // ALE block
357 : : // ---------------------------------------------------------------------------
358 : : tag::ale, tk::TaggedTuple< brigand::list<
359 : : tag::ale, bool,
360 : : tag::smoother, MeshVelocitySmootherType,
361 : : tag::mesh_velocity, MeshVelocityType,
362 : : tag::mesh_motion, std::vector< std::size_t >,
363 : : tag::meshforce, std::vector< tk::real >,
364 : : tag::dvcfl, tk::real,
365 : : tag::vortmult, tk::real,
366 : : tag::maxit, std::size_t,
367 : : tag::tolerance, tk::real,
368 : : tag::dirichlet, std::vector< std::size_t >,
369 : : tag::symmetry, std::vector< std::size_t >,
370 : : tag::move, std::vector<
371 : : tk::TaggedTuple< brigand::list<
372 : : tag::sideset, std::vector< uint64_t >,
373 : : tag::fntype, tk::ctr::UserTableType,
374 : : tag::fn, std::vector< tk::real >
375 : : > >
376 : : >
377 : : > >,
378 : :
379 : : // p-refinement block
380 : : // ---------------------------------------------------------------------------
381 : : tag::pref, tk::TaggedTuple< brigand::list<
382 : : tag::pref, bool,
383 : : tag::indicator, PrefIndicatorType,
384 : : tag::ndofmax, std::size_t,
385 : : tag::tolref, tk::real
386 : : > >,
387 : :
388 : : // AMR block
389 : : // ---------------------------------------------------------------------------
390 : : tag::amr, tk::TaggedTuple< brigand::list<
391 : : tag::amr, bool,
392 : : tag::t0ref, bool,
393 : : tag::dtref, bool,
394 : : tag::dtref_uniform, bool,
395 : : tag::dtfreq, std::size_t,
396 : : tag::maxlevels, std::size_t,
397 : : tag::initial, std::vector< AMRInitialType >,
398 : : tag::edgelist, std::vector< std::size_t >,
399 : : tag::coords, tk::TaggedTuple< brigand::list<
400 : : tag::xminus, tk::real,
401 : : tag::xplus, tk::real,
402 : : tag::yminus, tk::real,
403 : : tag::yplus, tk::real,
404 : : tag::zminus, tk::real,
405 : : tag::zplus, tk::real
406 : : > >,
407 : : tag::error, AMRErrorType,
408 : : tag::refvar, std::vector< char >,
409 : : tag::tol_refine, tk::real,
410 : : tag::tol_derefine, tk::real
411 : : > >,
412 : :
413 : : // Output options
414 : : tag::field_output, fieldOutputList,
415 : : tag::diagnostics, diagnosticsList,
416 : : tag::history_output, historyOutputList
417 : : >;
418 : :
419 : : // Class storing the Config params
420 : 193 : class InputDeck : public tk::TaggedTuple< ConfigMembers > {
421 : :
422 : : public:
423 : : //! Set of tags to ignore when printing this InputDeck
424 : : using ignore = CmdLine::ignore;
425 : :
426 : : //! \brief Constructor: set defaults
427 : : //! \param[in] cl Previously parsed and store command line
428 : : //! \details Anything not set here is initialized by the compiler using the
429 : : //! default constructor for the corresponding type.
430 : 1357 : explicit InputDeck( const CmdLine& cl = {} ) {
431 : : // Set previously parsed command line
432 : : get< tag::cmd >() = cl;
433 : : // Default time stepping params
434 : 1357 : get< tag::dt >() = 0.0;
435 : 1357 : get< tag::cfl >() = 0.0;
436 : : // Default AMR settings
437 : : auto rmax =
438 : : std::numeric_limits< tk::real >::max() / 100;
439 : 1357 : get< tag::amr, tag::coords, tag::xminus >() = rmax;
440 : 1357 : get< tag::amr, tag::coords, tag::xplus >() = -rmax;
441 : 1357 : get< tag::amr, tag::coords, tag::yminus >() = rmax;
442 : 1357 : get< tag::amr, tag::coords, tag::yplus >() = -rmax;
443 : 1357 : get< tag::amr, tag::coords, tag::zminus >() = rmax;
444 [ + - ]: 1357 : get< tag::amr, tag::coords, tag::zplus >() = -rmax;
445 : :
446 : : // -----------------------------------------------------------------------
447 : : /*
448 : : Keyword vector
449 : : The following code generates a vector of keywords, for the sole purpose
450 : : of documentation and user-help (accessible via the --helpctr and
451 : : --helpkw cmdline arguments. If entries for a keyword are not added to
452 : : this vector, help will not be output for it. The entries follow the
453 : : function signature of the tk::entry_t constructor (defined in
454 : : Base/Types.hpp).
455 : : */
456 : : // -----------------------------------------------------------------------
457 : : std::set< tk::entry_t > keywords;
458 : :
459 : : keywords.insert({"inciter",
460 : : "Start configuration block for inciter",
461 : : R"(This keyword is used to select inciter. Inciter, is a continuum-realm
462 : : shock hydrodynamics tool, solving a system of PDEs. The entire control
463 [ + - ][ + - ]: 5428 : file must be enclosed within the inciter block)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
464 : :
465 : : keywords.insert({"title", "Title", R"(The title may be specified in
466 [ + - ][ + - ]: 4071 : the input file. It is optional.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ - + ]
[ - + ][ - - ]
467 : :
468 : : // -----------------------------------------------------------------------
469 : : // time stepping options
470 : : // -----------------------------------------------------------------------
471 : :
472 : : keywords.insert({"nstep", "Set number of time steps to take",
473 : : R"(This keyword is used to specify the number of time steps to take in a
474 : : simulation. The number of time steps are used in conjunction with the
475 : : maximmum time specified by keyword 'term': the simulation stops whichever
476 : : is reached first. Both 'nstep' and 'term' can be left unspecified, in
477 [ + - ][ + - ]: 5428 : which case their default values are used. See also 'term'.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
478 : :
479 : : keywords.insert({"term", "Set maximum physical time to simulate",
480 : : R"(This keyword is used to specify the termination time in a simulation.
481 : : The termination time and number of time steps, specified by 'nstep', are
482 : : used in conjunction to determine when to stop a simulation: whichever is
483 : : reached first. Both 'nstep' and 'term' can be left unspecified, in which
484 [ + - ][ + - ]: 5428 : case their default values are used. See also 'nstep'.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
485 : :
486 : : keywords.insert({"t0", "Set starting non-dimensional time",
487 : : R"(This keyword is used to specify the starting time in a simulation.)",
488 [ + - ][ + - ]: 5428 : "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
489 : :
490 : : keywords.insert({"dt", "Select constant time step size",
491 : : R"(This keyword is used to specify the time step size that used as a
492 : : constant during simulation. Setting 'cfl' and 'dt' are mutually
493 [ + - ][ + - ]: 5428 : exclusive. If both 'cfl' and 'dt' are set, 'dt' wins.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
494 : :
495 : : keywords.insert({"cfl",
496 : : "Set the Courant-Friedrichs-Lewy (CFL) coefficient",
497 : : R"(This keyword is used to specify the CFL coefficient for
498 : : variable-time-step-size simulations. Setting 'cfl' and 'dt' are mutually
499 [ + - ][ + - ]: 5428 : exclusive. If both 'cfl' and 'dt' are set, 'dt' wins.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
500 : :
501 : : keywords.insert({"ttyi", "Set screen output interval",
502 : : R"(This keyword is used to specify the interval in time steps for screen
503 [ + - ][ + - ]: 5428 : output during a simulation.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
504 : :
505 : : keywords.insert({"imex_runge_kutta",
506 : : "Toggle use of IMplicit-EXplicit Runge-Kutta scheme",
507 : : R"(This keywords is used to turn IMEX integrator on/off for solid materials
508 : : in a multimat run. Plastic terms are integrated implicitly in time. This
509 : : flag will activate an Implicit-Explicit Runge-Kutta scheme to replace the
510 : : explicit one that is usually used. Scheme taken from Cavaglieri, D., &
511 : : Bewley, T. (2015). Low-storage implicit/explicit Runge–Kutta schemes for
512 : : the simulation of stiff high-dimensional ODE systems. Journal of
513 [ + - ][ + - ]: 5428 : Computational Physics, 286, 172-193.)", "uint 0/1"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
514 : :
515 : : keywords.insert({"imex_maxiter",
516 : : "Set maximum number of iterations for non-linear solver with IMEX-RK scheme",
517 : : R"(This keywords is used to specify the maximum number of iterations that
518 : : the non-linear solver uses to obtain the implicit unknowns within the
519 [ + - ][ + - ]: 5428 : Implicit-Explicit Runge-Kutta scheme.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
520 : :
521 : : keywords.insert({"imex_reltol",
522 : : "Set relative tolerance for non-linear solver with IMEX-RK scheme",
523 : : R"(This keywords is used to specify the relative tolerance that
524 : : the non-linear solver uses to obtain the implicit unknowns within the
525 [ + - ][ + - ]: 5428 : Implicit-Explicit Runge-Kutta scheme.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
526 : :
527 : : keywords.insert({"imex_abstol",
528 : : "Set absolute tolerance for non-linear solver with IMEX-RK scheme",
529 : : R"(This keywords is used to specify the absolute tolerance that
530 : : the non-linear solver uses to obtain the implicit unknowns within the
531 [ + - ][ + - ]: 5428 : Implicit-Explicit Runge-Kutta scheme.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
532 : :
533 : : // -----------------------------------------------------------------------
534 : : // steady-state solver options
535 : : // -----------------------------------------------------------------------
536 : :
537 : : keywords.insert({"steady_state", "March to steady state",
538 : : R"(This keyword is used indicate that local time stepping should be used
539 [ + - ][ + - ]: 5428 : to march towards a stationary solution.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
540 : :
541 : : keywords.insert({"residual",
542 : : "Set the convergence criterion for the residual to reach",
543 : : R"(This keyword is used to specify a convergence criterion for the local
544 : : time stepping marching to steady state, below which the simulation is
545 [ + - ][ + - ]: 5428 : considered converged.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
546 : :
547 : : keywords.insert({"rescomp",
548 : : "Equation system component index for convergence",
549 : : R"(This keyword is used to specify a single integer that is used to denote
550 : : the equation component index in the complete system of equations
551 : : configured, to use for the convergence criterion for local
552 [ + - ][ + - ]: 5428 : time stepping marching towards steady state.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
553 : :
554 : : // -----------------------------------------------------------------------
555 : : // mesh partitioning and reordering/sorting choices
556 : : // -----------------------------------------------------------------------
557 : :
558 : : keywords.insert({"partitioning",
559 : : "Select mesh partitioning algorithm",
560 : : R"(This keyword is used to select a mesh partitioning algorithm. See
561 : : Control/Options/PartitioningAlgorithm.hpp for valid options.)",
562 [ + - ][ + - ]: 5428 : "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
563 : :
564 : : keywords.insert({"rcb",
565 : : "Select recursive coordinate bisection mesh partitioner",
566 : : R"(This keyword is used to select the recursive coordinate bisection (RCB)
567 : : mesh partitioner. RCB is a geometry-based partitioner used to distribute
568 : : an input mesh among processing elements. See
569 [ + - ][ + - ]: 5428 : Control/Options/PartitioningAlgorithm.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
570 : :
571 : : keywords.insert({"rib",
572 : : "Select recursive inertial bisection mesh partitioner",
573 : : R"(This keyword is used to select the recursive inertial bisection (RIB)
574 : : mesh partitioner. RIB is a geometry-based partitioner used to distribute
575 : : an input mesh among processing elements. See
576 [ + - ][ + - ]: 5428 : Control/Options/PartitioningAlgorithm.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
577 : :
578 : : keywords.insert({"hsfc",
579 : : "Select Hilbert Space Filling Curve (HSFC) mesh partitioner",
580 : : R"(This keyword is used to select the Hilbert Space Filling Curve (HSFC)
581 : : mesh partitioner. HSFC is a geometry-based partitioner used to distribute
582 : : an input mesh among processing elements. See
583 [ + - ][ + - ]: 5428 : Control/Options/PartitioningAlgorithm.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
584 : :
585 : : keywords.insert({"phg",
586 : : "Select parallel hypergraph mesh partitioner",
587 : : R"(This keyword is used to select the parallel hypergraph (PHG)
588 : : mesh partitioner. PHG is a graph-based partitioner used to distribute an
589 : : input mesh among processing elements. See
590 [ + - ][ + - ]: 5428 : Control/Options/PartitioningAlgorithm.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
591 : :
592 : : keywords.insert({"mj",
593 : : "Select multi-jagged (MJ) mesh partitioner",
594 : : R"(This keyword is used to select the multi-jagged (MJ) mesh partitioner.
595 : : MJ is a geometry-based partitioner used to distribute an input mesh among
596 : : processing elements. See
597 [ + - ][ + - ]: 5428 : Control/Options/PartitioningAlgorithm.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
598 : :
599 : : keywords.insert({"pelocal_reorder",
600 : : "PE-local reorder",
601 : : R"(This keyword is used in inciter as a keyword in the inciter...end block
602 : : as "pelocal_reorder true" (or false) to do (or not do) a global
603 : : distributed mesh reordering across all PEs that yields an approximately
604 : : continuous mesh node ID order as mesh partitions are assigned to PEs after
605 [ + - ][ + - ]: 5428 : mesh partitioning. This reordering is optional.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
606 : :
607 : : keywords.insert({"operator_reorder",
608 : : "Operator-access reorder",
609 : : R"(This keyword is used in inciter as a keyword in the inciter...end block
610 : : as "operator_reorder on" (or off) to do (or not do) a local mesh node
611 : : reordering based on the PDE operator access pattern. This reordering is
612 [ + - ][ + - ]: 5428 : optional.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
613 : :
614 : : // -----------------------------------------------------------------------
615 : : // discretization scheme choices
616 : : // -----------------------------------------------------------------------
617 : :
618 : : keywords.insert({"scheme", "Select discretization scheme",
619 : : R"(This keyword is used to select a spatial discretization scheme,
620 : : necessarily connected to the temporal discretization scheme. See
621 [ + - ][ + - ]: 5428 : Control/Inciter/Options/Scheme.hpp for valid options.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
622 : :
623 : : keywords.insert({"alecg",
624 : : "Select continuous Galerkin with ALE + Runge-Kutta",
625 : : R"(This keyword is used to select the continuous Galerkin finite element
626 : : scheme in the arbitrary Lagrangian-Eulerian (ALE) reference frame combined
627 : : with Runge-Kutta (RK) time stepping.
628 [ + - ][ + - ]: 5428 : See Control/Inciter/Options/Scheme.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
629 : :
630 : : keywords.insert({"oversetfe",
631 : : "Select continuous Galerkin finite element with overset meshes + "
632 : : "Runge-Kutta",
633 : : R"(This keyword is used to select the continuous Galerkin finite element
634 : : scheme with Runge-Kutta (RK) time stepping, combined with overset grids.
635 [ + - ][ + - ]: 5428 : See Control/Inciter/Options/Scheme.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
636 : :
637 : : keywords.insert({"dg",
638 : : "Select 1st-order discontinuous Galerkin discretization + Runge-Kutta",
639 : : R"(This keyword is used to select the first-order accurate discontinuous
640 : : Galerkin, DG(P0), spatial discretiztaion used in Inciter. As this is first
641 : : order accurate, it is intended for testing and debugging purposes only.
642 : : Selecting this spatial discretization also selects the Runge-Kutta scheme
643 : : for time discretization. See Control/Inciter/Options/Scheme.hpp for other
644 [ + - ][ + - ]: 5428 : valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
645 : :
646 : : keywords.insert({"p0p1",
647 : : "Select 2nd-order finite volume discretization + Runge-Kutta",
648 : : R"(This keyword is used to select the second-order accurate finite volume,
649 : : P0P1, spatial discretiztaion used in Inciter. This method uses a
650 : : least-squares procedure to reconstruct the second-order solution from the
651 : : first-order one. Selecting this spatial discretization also selects the
652 : : Runge-Kutta scheme for time discretization.
653 [ + - ][ + - ]: 5428 : See Control/Inciter/Options/Scheme.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
654 : :
655 : : keywords.insert({"dgp1",
656 : : "Select 2nd-order discontinuous Galerkin discretization + Runge-Kutta",
657 : : R"(This keyword is used to select the second-order accurate discontinuous
658 : : Galerkin, DG(P1), spatial discretiztaion used in Inciter. Selecting this
659 : : spatial discretization also selects the Runge-Kutta scheme for time
660 : : discretization. See Control/Inciter/Options/Scheme.hpp for other
661 [ + - ][ + - ]: 5428 : valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
662 : :
663 : : keywords.insert({"dgp2",
664 : : "Select 3nd-order discontinuous Galerkin discretization + Runge-Kutta",
665 : : R"(This keyword is used to select the third-order accurate discontinuous
666 : : Galerkin, DG(P2), spatial discretiztaion used in Inciter. Selecting this
667 : : spatial discretization also selects the Runge-Kutta scheme for time
668 : : discretization. See Control/Inciter/Options/Scheme.hpp for other
669 [ + - ][ + - ]: 5428 : valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
670 : :
671 : : keywords.insert({"pdg",
672 : : "Select p-adaptive discontinuous Galerkin discretization + Runge-Kutta",
673 : : R"(This keyword is used to select the polynomial adaptive discontinuous
674 : : Galerkin spatial discretizaion used in Inciter. Selecting this spatial
675 : : discretization also selects the Runge-Kutta scheme for time
676 : : discretization. See Control/Inciter/Options/Scheme.hpp for other valid
677 [ + - ][ + - ]: 5428 : options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
678 : :
679 : : keywords.insert({"fv",
680 : : "Select 2nd-order finite volume discretization + Runge-Kutta",
681 : : R"(This keyword is used to select the second-order accurate finite volume,
682 : : P0P1, spatial discretiztaion used in Inciter. This method uses a
683 : : least-squares procedure to reconstruct the second-order solution from the
684 : : first-order one. See Control/Inciter/Options/Scheme.hpp for other valid
685 [ + - ][ + - ]: 5428 : options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
686 : :
687 : : keywords.insert({"ndof", "Number of evolved solution DOFs",
688 [ + - ][ + - ]: 5428 : R"(The number of solution DOFs that are evolved.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
689 : :
690 : : keywords.insert({"rdof", "Total number of solution DOFs",
691 : : R"(The total number of solution DOFs, including the reconstructed and the
692 [ + - ][ + - ]: 5428 : evolved ones.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
693 : :
694 : : // -----------------------------------------------------------------------
695 : : // limiter options
696 : : // -----------------------------------------------------------------------
697 : :
698 : : keywords.insert({"limiter", "Select limiter function",
699 : : R"(This keyword is used to select a limiter function, used for
700 : : discontinuous Galerkin (DG) spatial discretization used in inciter. See
701 [ + - ][ + - ]: 5428 : Control/Inciter/Options/Limiter.hpp for valid options.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
702 : :
703 : : keywords.insert({"nolimiter", "No limiter used",
704 : : R"(This keyword is used for discontinuous Galerkin (DG) spatial
705 : : discretization without any limiter in inciter. See
706 [ + - ][ + - ]: 4071 : Control/Inciter/Options/Limiter.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ - + ]
[ - + ][ - - ]
707 : :
708 : : keywords.insert({"wenop1",
709 : : "Select the Weighted Essentially Non-Oscillatory (WENO) limiter for DGP1",
710 : : R"(This keyword is used to select the Weighted Essentially Non-Oscillatory
711 : : limiter used for discontinuous Galerkin (DG) P1 spatial discretization
712 : : used in inciter. See Control/Inciter/Options/Limiter.hpp for other valid
713 [ + - ][ + - ]: 5428 : options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
714 : :
715 : : keywords.insert({"cweight",
716 : : "Set value for central linear weight used by WENO, cweight",
717 : : R"(This keyword is used to set the central linear weight used for the
718 : : central stencil in the Weighted Essentially Non-Oscillatory (WENO) limiter
719 [ + - ][ + - ]: 5428 : for discontinuous Galerkin (DG) methods.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
720 : :
721 : : keywords.insert({"superbeep1",
722 : : "Select the Superbee limiter for DGP1",
723 : : R"(This keyword is used to select the Superbee limiter used for
724 : : discontinuous Galerkin (DG) P1 spatial discretization used in inciter.
725 [ + - ][ + - ]: 5428 : See Control/Inciter/Options/Limiter.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
726 : :
727 : : keywords.insert({"shock_detector_coeff",
728 : : "Configure the coefficient used in shock indicator",
729 : : R"(This keyword can be used to configure the coefficient used in the
730 [ + - ][ + - ]: 5428 : threshold calculation for the shock indicator.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
731 : :
732 : : keywords.insert({"vertexbasedp1",
733 : : "Select the vertex-based limiter for DGP1",
734 : : R"(This keyword is used to select the vertex-based limiter used for
735 : : discontinuous Galerkin (DG) P1 spatial discretization used in inciter.
736 : : Ref. Kuzmin, D. (2010). A vertex-based hierarchical slope limiter for
737 : : p-adaptive discontinuous Galerkin methods. Journal of computational and
738 : : applied mathematics, 233(12), 3077-3085.
739 [ + - ][ + - ]: 5428 : See Control/Inciter/Options/Limiter.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
740 : :
741 : : keywords.insert({"accuracy_test", "Toggle accuracy test setup",
742 : : R"(This keyword is used to specify if the current setup is for an
743 : : order-of-accuracy testing, used for discontinuous Galerkin (DG) spatial
744 : : discretization in inciter. This deactivates certain robustness corrections
745 : : which might impact order-of-accuracy. Only intended for simple test
746 [ + - ][ + - ]: 5428 : problems and not for real problems.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
747 : :
748 : : keywords.insert({"limsol_projection",
749 : : "Toggle limited solution projection",
750 : : R"(This keyword is used to specify limited solution projection.
751 : : This is used for discontinuous Galerkin (DG) spatial discretization in
752 : : inciter, for multi-material hydrodynamics. This uses a projection to
753 : : obtain bulk momentum and material energies from the limited primitive
754 : : quantities. This step is essential to obtain closure-law obeying limited
755 : : quantities. See Pandare et al. (2023). On the Design of Stable,
756 : : Consistent, and Conservative High-Order Methods for Multi-Material
757 [ + - ][ + - ]: 5428 : Hydrodynamics. J Comp Phys (490).)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
758 : :
759 : : // -----------------------------------------------------------------------
760 : : // flux options
761 : : // -----------------------------------------------------------------------
762 : :
763 : : keywords.insert({"flux", "Select flux function",
764 : : R"(This keyword is used to select a flux function, used for
765 : : discontinuous Galerkin (DG) spatial discretization used in inciter. See
766 [ + - ][ + - ]: 5428 : Control/Inciter/Options/Flux.hpp for valid options.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
767 : :
768 : : keywords.insert({"laxfriedrichs",
769 : : "Select Lax-Friedrichs flux function",
770 : : R"(This keyword is used to select the Lax-Friedrichs flux function used
771 : : for discontinuous Galerkin (DG) spatial discretization used in inciter.
772 [ + - ][ + - ]: 5428 : See Control/Inciter/Options/Flux.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
773 : :
774 : : keywords.insert({"hllc",
775 : : "Select the Harten-Lax-van Leer-Contact (HLLC) flux function",
776 : : R"(This keyword is used to select the Harten-Lax-van Leer-Contact flux
777 : : function used for discontinuous Galerkin (DG) spatial discretization
778 : : used in inciter. See Control/Inciter/Options/Flux.hpp for other valid
779 [ + - ][ + - ]: 5428 : options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
780 : :
781 : : keywords.insert({"upwind", "Select the upwind flux function",
782 : : R"(This keyword is used to select the upwind flux
783 : : function used for discontinuous Galerkin (DG) spatial discretization
784 : : used in inciter. It is only usable for scalar transport.
785 [ + - ][ + - ]: 5428 : See Control/Inciter/Options/Flux.hpp for other valid options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
786 : :
787 : : keywords.insert({"ausm",
788 : : "Select the Advection Upstream Splitting Method (AUSM) flux function",
789 : : R"(This keyword is used to select the AUSM flux
790 : : function used for discontinuous Galerkin (DG) spatial discretization
791 : : used in inciter. It is only set up for for multi-material hydro, and
792 [ + - ][ + - ]: 5428 : not selectable for anything else.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
793 : :
794 : : keywords.insert({"ldfss",
795 : : "Select the Low Diffusion Flux Splitting Scheme (LDFSS)",
796 : : R"(This keyword is used to select the LDFSS flux
797 : : function used for discontinuous Galerkin (DG) spatial discretization
798 : : used in inciter. It is only set up for for multi-material hydro, and
799 [ + - ][ + - ]: 5428 : not selectable for anything else.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
800 : :
801 : : keywords.insert({"lowspeed_kp",
802 : : "Select the low-speed coefficient K_p in the AUSM+up flux function",
803 : : R"(This keyword is used to select the low-speed coefficient K_p in the
804 : : AUSM+up flux function used for the DG or FV spatial discretization for
805 : : multi-material hydro, and not used for anything else. The default
806 : : value is 0, and recommended value for low speed flows (Mach < 0.1) is
807 [ + - ][ + - ]: 5428 : 1.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
808 : :
809 : : keywords.insert({"hll",
810 : : "Select the Harten-Lax-vanLeer (HLL) flux function",
811 : : R"(This keyword is used to select the HLL flux
812 : : function used for discontinuous Galerkin (DG) spatial discretization
813 : : used in inciter. It is only set up for for multi-material hydro, and
814 [ + - ][ + - ]: 5428 : not selectable for anything else.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
815 : :
816 : : keywords.insert({"hlld",
817 : : "Select the Harten-Lax-vanLeer-Discontinuities (HLLD) flux function",
818 : : R"(This keyword is used to select the HLLD flux
819 : : function used for discontinuous Galerkin (DG) spatial discretization
820 : : used in inciter. It is only set up for for multi-material runs. This
821 : : flux is designed to handle normal and shear waves within solid
822 [ + - ][ + - ]: 5428 : materials)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
823 : :
824 : : // -----------------------------------------------------------------------
825 : : // PDE keywords
826 : : // -----------------------------------------------------------------------
827 : :
828 : : keywords.insert({"problem",
829 : : "Specify problem configuration for partial differential equation solver",
830 : : R"(This keyword is used to specify the problem configuration for the
831 [ + - ][ + - ]: 5428 : partial differential equation solver.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
832 : :
833 : : keywords.insert({"transport",
834 : : "Start configuration block for an transport equation",
835 : : R"(This keyword is used to introduce a transport block, used to
836 : : specify the configuration for a transport equation type.)",
837 [ + - ][ + - ]: 5428 : "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
838 : :
839 : : keywords.insert({"ncomp",
840 : : "Set number of scalar components for a system of transport equations",
841 : : R"(This keyword is used to specify the number of scalar
842 [ + - ][ + - ]: 5428 : components of transport (linear advection) equations.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
843 : :
844 : : keywords.insert({"compflow",
845 : : "Start configuration block for the compressible flow equations",
846 : : R"(This keyword is used to introduce the compflow block, used to
847 : : specify the configuration for a system of partial differential equations,
848 [ + - ][ + - ]: 5428 : governing single material compressible fluid flow.)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
849 : :
850 : : keywords.insert({"multimat",
851 : : "Start configuration block for the compressible multi-material equations",
852 : : R"(This keyword is used to introduce the multimat block,
853 : : used to specify the configuration for a system of partial differential
854 : : equations, governing compressible multi-material hydrodynamics assuming
855 [ + - ][ + - ]: 5428 : velocity equilibrium (single velocity).)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
856 : :
857 : : keywords.insert({"multispecies",
858 : : "Start configuration block for the compressible multi-species equations",
859 : : R"(This keyword is used to introduce the multispecies block,
860 : : used to specify the configuration for a system of partial differential
861 : : equations, governing compressible multi-species fluid dynamics.)",
862 [ + - ][ + - ]: 5428 : "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
863 : :
864 : : keywords.insert({"nmat",
865 : : "Set number of materials for the multi-material system",
866 : : R"(This keyword is used to specify the number of materials for
867 [ + - ][ + - ]: 5428 : multi-material flow, see also the keyword 'multimat'.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
868 : :
869 : : keywords.insert({"nspec",
870 : : "Set number of species for the multi-species system",
871 : : R"(This keyword is used to specify the number of species for
872 [ + - ][ + - ]: 5428 : multi-species flow, see also the keyword 'multispecies'.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
873 : :
874 : : keywords.insert({"prelax",
875 : : "Toggle multi-material finite pressure relaxation",
876 : : R"(This keyword is used to turn finite pressure relaxation between
877 : : multiple materials on/off. It is used only for the multi-material solver,
878 [ + - ][ + - ]: 5428 : and has no effect when used for the other PDE types.)", "uint 0/1"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
879 : :
880 : : keywords.insert({"prelax_timescale",
881 : : "Time-scale for multi-material finite pressure relaxation",
882 : : R"(This keyword is used to specify the time-scale at which finite pressure
883 : : relaxation between multiple materials occurs. The default value of 0.25
884 : : corresponds to a relaxation time that is 4 times the time required for a
885 : : sound wave to pass through a computational element. It is used only for
886 [ + - ][ + - ]: 5428 : multimat, and has no effect for the other PDE types.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
887 : :
888 : : keywords.insert({"intsharp",
889 : : "Toggle multi-material interface sharpening",
890 : : R"(This keyword is used to turn interface sharpening on/off. It uses the
891 : : multi-material THINC interface reconstruction.
892 : : Ref. Pandare A. K., Waltz J., & Bakosi J. (2021) Multi-Material
893 : : Hydrodynamics with Algebraic Sharp Interface Capturing. Computers &
894 : : Fluids, doi: https://doi.org/10.1016/j.compfluid.2020.104804. It is used
895 : : for the multi-material and the transport solver, and has no effect when
896 [ + - ][ + - ]: 5428 : used for the other PDE types.)", "uint 0/1"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
897 : :
898 : : keywords.insert({"intsharp_param",
899 : : "Parameter for multi-material interface sharpening",
900 : : R"(This keyword is used to specify the parameter for the interface
901 : : sharpening. This parameter affects how many cells the material interfaces
902 : : span, after the use of sharpening. It is used for multimat and transport,
903 [ + - ][ + - ]: 5428 : and has no effect for the other PDE types.)", "real" });
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
904 : :
905 : : keywords.insert({"rho0constraint",
906 : : "Toggle the density constraint correction",
907 : : R"(This keyword is used to toggle the density constraint in solid
908 : : dynamics on/off. It is used only for the multi-material solver in the
909 [ + - ][ + - ]: 5428 : presence of solids. The default is 1 (on).)", "uint 0/1"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
910 : :
911 : : keywords.insert({"dt_sos_massavg",
912 : : "Toggle method for calculating speed of sound used for time step in a cell",
913 : : R"(This keyword is used to specify the method to calculate the speed of
914 : : sound in a cell used for the time step. If set to 1, the speed of sound
915 : : will be calculated using the mass average, rather than the maximum value
916 : : across materials. It is used for multimat, and has no effect for the
917 [ + - ][ + - ]: 5428 : other PDE types.)", "uint 0/1" });
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
918 : :
919 : : // Dependent variable name
920 : : keywords.insert({"depvar",
921 : : "Select dependent variable name for PDE.",
922 [ + - ][ + - ]: 5428 : R"(Select dependent variable name for PDE.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
923 : :
924 : : // -----------------------------------------------------------------------
925 : : // physics choices
926 : : // -----------------------------------------------------------------------
927 : :
928 : : keywords.insert({"physics",
929 : : "Specify the physics configuration for a system of PDEs",
930 : : R"(This keyword is used to select the physics configuration for a
931 : : particular PDE system. Valid options depend on the system of PDEs in
932 [ + - ][ + - ]: 5428 : which the keyword is used.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
933 : :
934 : : keywords.insert({"advection",
935 : : "Specify the advection physics",
936 : : R"(This keyword is used to select the advection physics for the transport
937 [ + - ][ + - ]: 5428 : PDE system. Only usable for 'transport'.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
938 : :
939 : : keywords.insert({"advdiff",
940 : : "Specify the advection + diffusion physics",
941 : : R"(This keyword is used to select the advection + diffusion physics
942 [ + - ][ + - ]: 5428 : for transport PDEs. Only usable for 'transport'.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
943 : :
944 : : keywords.insert({"euler",
945 : : "Specify the Euler (inviscid) compressible flow physics",
946 : : R"(This keyword is used to select the Euler (inviscid) compressible
947 [ + - ][ + - ]: 5428 : flow physics configuration. Usable for 'compflow' and 'multimat')"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
948 : :
949 : : keywords.insert({"energy_pill",
950 : : "Specify the energy pill physics",
951 : : R"(This keyword is used to select an energy pill initialization as physics
952 : : configuration for multiple material compressible flow. Parameters for the
953 : : linearly traveling front are required to be specified when energy_pill is
954 : : selected. See 'linear' for more details. Currently setup only for
955 [ + - ][ + - ]: 5428 : 'multimat')"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
956 : :
957 : : // -----------------------------------------------------------------------
958 : : // material/eos object
959 : : // -----------------------------------------------------------------------
960 : :
961 : : keywords.insert({"material",
962 : : "Start configuration block for material (eos) properties",
963 : : R"(This keyword is used to introduce a material block, used to
964 [ + - ][ + - ]: 6785 : specify material properties.)", "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
965 : :
966 : : keywords.insert({"species",
967 : : "Start configuration block for species (eos) properties",
968 : : R"(This keyword is used to introduce a species block, used to
969 : : specify species properties in the multi species solver.)",
970 [ + - ][ + - ]: 6785 : "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
971 : :
972 : : keywords.insert({"id", "ID",
973 : : R"(This keyword is used to specify an ID, a positive integer. Usage is
974 : : context specific, i.e. what block it is specified in. E.g. Inside the
975 : : material block, it is used to specify a block consisting of IDs of
976 [ + - ][ + - ]: 4071 : materials of that EOS type)", "vector of uints"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ - + ]
[ - + ][ - - ]
977 : :
978 : : keywords.insert({"eos", "Select equation of state (type)",
979 : : R"(This keyword is used to select an equation of state for a material.)",
980 [ + - ][ + - ]: 5428 : "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
981 : :
982 : : keywords.insert({"gamma", "ratio of specific heats",
983 : : R"(This keyword is used to specify the material property, ratio of
984 [ + - ][ + - ]: 5428 : specific heats.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
985 : :
986 : : keywords.insert({"pstiff", "EoS stiffness parameter",
987 : : R"(This keyword is used to specify the material property, stiffness
988 [ + - ][ + - ]: 5428 : parameter in the stiffened gas equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
989 : :
990 : : keywords.insert({"w_gru", "Grueneisen coefficient",
991 : : R"(This keyword is used to specify the material property, Gruneisen
992 : : coefficient for the Jones-Wilkins-Lee equation of state.)",
993 [ + - ][ + - ]: 5428 : "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
994 : :
995 : : keywords.insert({"A_jwl", "JWL EoS A parameter",
996 : : R"(This keyword is used to specify the material property A (units: Pa)
997 [ + - ][ + - ]: 5428 : for the Jones-Wilkins-Lee equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
998 : :
999 : : keywords.insert({"B_jwl", "JWL EoS B parameter",
1000 : : R"(This keyword is used to specify the material property B (units: Pa)
1001 [ + - ][ + - ]: 5428 : for the Jones-Wilkins-Lee equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1002 : :
1003 : : keywords.insert({"C_jwl", "JWL EoS C parameter",
1004 : : R"(This keyword is used to specify the material property C (units: Pa)
1005 [ + - ][ + - ]: 5428 : for the Jones-Wilkins-Lee equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1006 : :
1007 : : keywords.insert({"R1_jwl", "JWL EoS R1 parameter",
1008 : : R"(This keyword is used to specify the material property R1 for the
1009 [ + - ][ + - ]: 5428 : Jones-Wilkins-Lee equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1010 : :
1011 : : keywords.insert({"R2_jwl", "JWL EoS R2 parameter",
1012 : : R"(This keyword is used to specify the material property R2 for the
1013 [ + - ][ + - ]: 5428 : Jones-Wilkins-Lee equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1014 : :
1015 : : keywords.insert({"rho0_jwl", "JWL EoS rho0 parameter",
1016 : : R"(This keyword is used to specify the material property rho0, which is
1017 : : the density of initial state (units: kg/m3) for the Jones-Wilkins-Lee
1018 [ + - ][ + - ]: 5428 : equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1019 : :
1020 : : keywords.insert({"de_jwl", "JWL EoS de parameter",
1021 : : R"(This keyword is used to specify the material property de, which is the
1022 : : heat of detonation for products; and for reactants, it is chosen such that
1023 : : the ambient internal energy (e0) is 0 (units: J/kg). Used for the
1024 [ + - ][ + - ]: 5428 : Jones-Wilkins-Lee equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1025 : :
1026 : : keywords.insert({"rhor_jwl", "JWL EoS rhor parameter",
1027 : : R"(This keyword is used to specify the material property rhor, which is
1028 : : the density of reference state (units: kg/m3) for the Jones-Wilkins-Lee
1029 [ + - ][ + - ]: 5428 : equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1030 : :
1031 : : keywords.insert({"Tr_jwl", "JWL EoS Tr parameter",
1032 : : R"(This keyword is used to specify the material property Tr, which is the
1033 : : temperature of reference state (units: K) for the Jones-Wilkins-Lee
1034 [ + - ][ + - ]: 5428 : equation of state.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1035 : :
1036 : : keywords.insert({"Pr_jwl", "JWL EoS er parameter",
1037 : : R"(This keyword is used to specify the material property Pr, which is the
1038 : : pressure at the reference state (units: Pa) for the Jones-Wilkins-Lee
1039 : : equation of state. It is used to calculate the reference temperature for
1040 [ + - ][ + - ]: 5428 : the EoS.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1041 : :
1042 : : keywords.insert({"mu", "shear modulus/dynamic viscosity",
1043 : : R"(This keyword is used to specify the material property, shear modulus
1044 [ + - ][ + - ]: 5428 : for solids, or dynamic viscosity for fluids.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1045 : :
1046 : : keywords.insert({"yield_stress", "Yield stress of solid material",
1047 : : R"(This keyword is used to specify the material property yield stress,
1048 : : which indicates the stress (units: Pa) after which the material begins
1049 [ + - ][ + - ]: 5428 : plastic flow.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1050 : :
1051 : : keywords.insert({"cv", "specific heat at constant volume",
1052 : : R"(This keyword is used to specify the material property, specific heat at
1053 [ + - ][ + - ]: 5428 : constant volume.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1054 : :
1055 : : keywords.insert({"k", "heat conductivity",
1056 : : R"(This keyword is used to specify the material property, heat
1057 [ + - ][ + - ]: 5428 : conductivity.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1058 : :
1059 : : keywords.insert({"cp_coeff", "specific heat coefficients for TPG",
1060 : : R"(This keyword is used to specify species' coefficients in the
1061 : : thermally perfect gas polynomial fit (per temperature range)
1062 : : for specific heat at constant volume. The outer vector is per
1063 : : species, the middle vector is per temperature range, and the
1064 : : inner vector contains 8 coefficients to describe the polynomial.)",
1065 [ + - ][ + - ]: 6785 : "vector of vector of vector of reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1066 : :
1067 : : keywords.insert({"t_range", "temperature range for TPG specific heat polynomials",
1068 : : R"(This keyword is used to specify the temperature range for each specific
1069 : : heat polynomial given in cp_coeff. The outer vector is per species,
1070 : : and the inner vector gives the temperature ranges. The inner vector must
1071 : : be sized 1 larger than the number of temperature ranges, as the ranges
1072 [ + - ][ + - ]: 6785 : are read as [T0, T1],[T1, T2],...)", "vector of vector of reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1073 : :
1074 : : keywords.insert({"dH_ref", "reference enthalpy for TPG specific heat polynomials",
1075 : : R"(This keyword is used to specify the reference enthalpy at 298.15 K so that
1076 : : the reference temperature in the enthalpy calculations is 0 K. This number
1077 : : is taken from the NASA Glenn 2002 report, and is the heat of formation
1078 [ + - ][ + - ]: 5428 : divided by the species molar mass.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1079 : :
1080 : : keywords.insert({"R", "Specific gas constant",
1081 : : R"(This keyword is used to specify the species property, specific gas
1082 [ + - ][ + - ]: 5428 : constant, in units J/kg.K.)", "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1083 : :
1084 : : keywords.insert({"stiffenedgas",
1085 : : "Select the stiffened gas equation of state",
1086 [ + - ][ + - ]: 5428 : R"(This keyword is used to select the stiffened gas equation of state.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1087 : :
1088 : : keywords.insert({"jwl", "Select the JWL equation of state",
1089 : : R"(This keyword is used to select the Jones, Wilkins, Lee equation of
1090 [ + - ][ + - ]: 5428 : state.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1091 : :
1092 : : keywords.insert({"smallshearsolid",
1093 : : "Select the SMALLSHEARSOLID equation of state",
1094 : : R"(This keyword is used to select the small shear strain equation of state
1095 : : for solids. This EOS uses a small-shear approximation for the elastic
1096 : : contribution, and a stiffened gas EOS for the hydrodynamic contribution of
1097 : : the internal energy See Plohr, J. N., & Plohr, B. J. (2005). Linearized
1098 : : analysis of Richtmyer–Meshkov flow for elastic materials. Journal of Fluid
1099 [ + - ][ + - ]: 5428 : Mechanics, 537, 55-89 for further details.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1100 : :
1101 : : keywords.insert({"godunovromenski_aluminum",
1102 : : "Select the GODUNOVROMENSKIALUMINUM equation of state",
1103 : : R"(This keyword is used to select the Godunov-Romenski equation of
1104 : : state for solids and a hydro EoS for aluminum. These function were
1105 : : taken from Barton, Philip T. "An interface-capturing Godunov method
1106 : : for the simulation of compressible solid-fluid problems." Journal
1107 [ + - ][ + - ]: 5428 : of Computational Physics 390 (2019): 25-50.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1108 : :
1109 : : keywords.insert({"matidxmap",
1110 : : "AUTO-GENERATED Material index map for EOS",
1111 : : R"(The following AUTO-GENERATED data structure is used to index into the
1112 : : correct material vector entry. This is done using the following three maps:
1113 : : 1. eosidx: This vector provides the eos-index (value) in the
1114 : : vector<tag::material> for the given user-spec material id (index).
1115 : : 2. matidx: This vector provides the material-index (value) inside the
1116 : : vector<tag::material>[eosidx] block for the given user-specified
1117 : : material id (index).
1118 : : 3. solidx: This vector provides the solid-index (value) assigned to
1119 [ + - ][ + - ]: 5428 : the given user-specified material id (index). It is 0 for fluids.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1120 : :
1121 : : // -----------------------------------------------------------------------
1122 : : // output object
1123 : : // -----------------------------------------------------------------------
1124 : :
1125 : : keywords.insert({"field_output",
1126 : : "Start of field_output input block",
1127 : : R"(This keyword is used to start a block in the input file containing the
1128 [ + - ][ + - ]: 5428 : list and settings of requested field output.)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1129 : :
1130 : : keywords.insert({"interval",
1131 : : "Set interval (in units of iteration count)",
1132 : : R"(This keyword is used to specify an interval in units of iteration count
1133 : : (i.e., number of time steps). This must be used within a relevant
1134 [ + - ][ + - ]: 5428 : block.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1135 : :
1136 : : keywords.insert({"time_interval",
1137 : : "Set interval (in units of physics time)",
1138 : : R"(This keyword is used to specify an interval in units of physics time.
1139 [ + - ][ + - ]: 5428 : This must be used within a relevant block.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1140 : :
1141 : : keywords.insert({"time_range",
1142 : : "Configure physics time range for output (in units of physics time)",
1143 : : R"(This keyword is used to configure field-, or history-output, specifying
1144 : : a start time, a stop time, and an output frequency in physics time units.
1145 : : Example: 'time_range = {0.2, 0.3, 0.001}', which specifies that from t=0.2 to
1146 : : t=0.3 output should happen at physics time units of dt=0.001. This must be
1147 [ + - ][ + - ]: 6785 : used within a relevant block.)", "vector of 3 reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1148 : :
1149 : : keywords.insert({"refined", "Toggle refined field output on/off",
1150 : : R"(This keyword can be used to turn on/off refined field output, which
1151 : : refines the mesh and evaluates the solution on the refined mesh for saving
1152 [ + - ][ + - ]: 5428 : the solution.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1153 : :
1154 : : keywords.insert({"filetype", "Select output file type",
1155 : : R"(This keyword is used to specify the output file type of
1156 [ + - ][ + - ]: 5428 : mesh-based field output in a field_output block.)", "string" });
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1157 : :
1158 : : keywords.insert({"elemvar",
1159 : : "Specify list of elem-centered variables for output",
1160 : : R"(This keyword is used to specify elem-centered variables for output to
1161 [ + - ][ + - ]: 6785 : file. It is used in field_output blocks.)", "vector of string"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1162 : :
1163 : : keywords.insert({"nodevar",
1164 : : "Specify list of node-centered variables for output",
1165 : : R"(This keyword is used to specify node-centered variables for output to
1166 [ + - ][ + - ]: 6785 : file. It is used in field_output blocks.)", "vector of string"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1167 : :
1168 : : keywords.insert({"sideset",
1169 : : "Specify list of side sets",
1170 : : R"(This keyword is used to specify side sets. Usage is context specific,
1171 : : i.e. depends on what block it is specified in. Eg. in the field_output
1172 : : block it specifies the sidesets on which field output is desired.)",
1173 [ + - ][ + - ]: 5428 : "vector of uints"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1174 : :
1175 : : keywords.insert({"diagnostics",
1176 : : "Specify the diagnostics block",
1177 : : R"(This keyword is used to introduce the dagnostics block, used to
1178 [ + - ][ + - ]: 5428 : configure diagnostics output.)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1179 : :
1180 : : keywords.insert({"interval",
1181 : : "Set interval (in units of iteration count)",
1182 : : R"(This keyword is used to specify an interval in units of iteration count
1183 : : (i.e., number of time steps). Usage is context specific, and this must
1184 [ + - ][ + - ]: 5428 : be used within a relevant block.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1185 : :
1186 : : keywords.insert({"error", "Select an error type",
1187 : : R"(This keyword is used to select the error type. Used either in the
1188 : : diagnostics block to specify error norm, or in the AMR block to specify
1189 [ + - ][ + - ]: 5428 : the error for solution-adaptive mesh refinement.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1190 : :
1191 : : keywords.insert({"format",
1192 : : "Specify the ASCII floating-point output format",
1193 : : R"(This keyword is used to select the
1194 : : floating-point output format for ASCII floating-point number output.
1195 : : Valid options are 'default', 'fixed', and 'scientific'. For more info on
1196 : : these various formats, see
1197 [ + - ][ + - ]: 5428 : http://en.cppreference.com/w/cpp/io/manip/fixed.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1198 : :
1199 : : keywords.insert({"precision",
1200 : : "Precision in digits for ASCII floating-point output",
1201 : : R"(This keyword is used to select
1202 : : the precision in digits for ASCII floating-point real number output.
1203 : : Example: "precision=10", which selects ten digits for floating-point
1204 : : output, e.g., 3.141592654. The number of digits must be larger than zero
1205 : : and lower than the maximum representable digits for the given
1206 : : floating-point type. For more info on setting the precision in C++, see
1207 : : http://en.cppreference.com/w/cpp/io/manip/setprecision, and
1208 [ + - ][ + - ]: 5428 : http://en.cppreference.com/w/cpp/types/numeric_limits/digits10)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1209 : :
1210 : : keywords.insert({"history_output",
1211 : : "Start of history_output input block",
1212 : : R"(This keyword is used to start a block in the input file containing the
1213 [ + - ][ + - ]: 5428 : descriptions and settings of requested history output.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1214 : :
1215 : : keywords.insert({"point",
1216 : : "Start configuration block for history point, or a single point in IC blocks",
1217 : : R"(This keyword is used to either introduce a vector block used to
1218 : : specify probes for history output, or in the IC/BC block to specify
1219 : : a single point. When used in history output, it takes sub-entries of
1220 : : 'id' and 'coord'. When used in IC/BC, directly takes three reals as
1221 [ + - ][ + - ]: 6785 : coordinates.)", "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1222 : :
1223 : : keywords.insert({"coord", "Specify point coordinates",
1224 : : R"(This keyword is used to specify coordinates of the history-point.)",
1225 [ + - ][ + - ]: 5428 : "3 reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1226 : :
1227 : : keywords.insert({"exodusii", "Select ExodusII output",
1228 : : R"(This keyword is used to select the
1229 : : ExodusII output file type readable by, e.g., ParaView of either a requested
1230 : : probability density function (PDF) within a pdfs ... end block or for
1231 : : mesh-based field output in a field_output ... end block. Example:
1232 : : "filetype exodusii", which selects ExodusII file output. For more info on
1233 [ + - ][ + - ]: 5428 : ExodusII, see http://sourceforge.net/projects/exodusii.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1234 : :
1235 : : keywords.insert({"density", "Request/specify density",
1236 : : R"(This keyword is used to request/specify the density. Usage is
1237 : : context specific. When specifed as 'elemvar' or 'nodevar' inside
1238 : : field_output, requests density as an output quantity. Otherwise,
1239 [ + - ][ + - ]: 5428 : specifies density at IC/BC.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1240 : :
1241 : : keywords.insert({"x-momentum",
1242 : : "Request x-momentum",
1243 : : R"(This keyword is used to request the fluid x-momentum as an output
1244 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1245 : :
1246 : : keywords.insert({"y-momentum",
1247 : : "Request y-momentum",
1248 : : R"(This keyword is used to request the fluid y-momentum as an output
1249 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1250 : :
1251 : : keywords.insert({"z-momentum",
1252 : : "Request z-momentum",
1253 : : R"(This keyword is used to request the fluid z-momentum as an output
1254 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1255 : :
1256 : : keywords.insert({
1257 : : "specific_total_energy", "Request specific total energy",
1258 : : R"(This keyword is used to request the specific total energy as an output
1259 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1260 : :
1261 : : keywords.insert({
1262 : : "volumetric_total_energy", "Request total volumetric energy",
1263 : : R"(This keyword is used to request the volumetric total energy as an output
1264 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1265 : :
1266 : : keywords.insert({"x-velocity",
1267 : : "Request x-velocity",
1268 : : R"(This keyword is used to request the fluid x-velocity as an output
1269 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1270 : :
1271 : : keywords.insert({"y-velocity",
1272 : : "Request y-velocity",
1273 : : R"(This keyword is used to request the fluid y-velocity as an output
1274 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1275 : :
1276 : : keywords.insert({"z-velocity",
1277 : : "Request z-velocity",
1278 : : R"(This keyword is used to request the fluid z-velocity as an output
1279 [ + - ][ + - ]: 5428 : variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1280 : :
1281 : : keywords.insert({"pressure", "Request/specify pressure",
1282 : : R"(This keyword is used to request/specify the pressure. Usage is
1283 : : context specific. When specifed as 'elemvar' or 'nodevar' inside
1284 : : field_output, requests pressure as an output quantity. Otherwise,
1285 [ + - ][ + - ]: 5428 : specifies pressure at IC/BC.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1286 : :
1287 : : keywords.insert({"material_indicator",
1288 : : "Request material_indicator",
1289 : : R"(This keyword is used to request the material indicator function as an
1290 [ + - ][ + - ]: 5428 : output variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1291 : :
1292 : : keywords.insert({"analytic",
1293 : : "Request analytic solution",
1294 : : R"(This keyword is used to request the analytic solution (if exist) as an
1295 [ + - ][ + - ]: 5428 : output variable.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1296 : :
1297 : : keywords.insert({"l2", "Select the L2 norm",
1298 [ + - ][ + - ]: 5428 : R"(This keyword is used to enable computing the L2 norm.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1299 : :
1300 : : keywords.insert({"linf", "Select the L_{infinity} norm",
1301 [ + - ][ + - ]: 5428 : R"(This keyword is used to enable computing the L-infinity norm.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1302 : :
1303 : : keywords.insert({"default",
1304 : : "Select the default ASCII floating-point output",
1305 : : R"(This keyword is used to select the
1306 : : 'default' floating-point output format for ASCII floating-point real
1307 : : number output. For more info on these various formats, see
1308 [ + - ][ + - ]: 5428 : http://en.cppreference.com/w/cpp/io/manip/fixed.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1309 : :
1310 : : keywords.insert({"fixed",
1311 : : "Select the fixed ASCII floating-point output",
1312 : : R"(This keyword is used to select the
1313 : : 'fixed' floating-point output format for ASCII floating-point real
1314 : : number output. For more info on these various formats, see
1315 [ + - ][ + - ]: 5428 : http://en.cppreference.com/w/cpp/io/manip/fixed.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1316 : :
1317 : : keywords.insert({"scientific",
1318 : : "Select the scientific ASCII floating-point output",
1319 : : R"(This keyword is used to select the
1320 : : 'scientific' floating-point output format for ASCII floating-point real
1321 : : number output. For more info on these various formats, see
1322 [ + - ][ + - ]: 5428 : http://en.cppreference.com/w/cpp/io/manip/fixed.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1323 : :
1324 : : // -----------------------------------------------------------------------
1325 : : // ALE options
1326 : : // -----------------------------------------------------------------------
1327 : :
1328 : : keywords.insert({"ale", "Start block configuring ALE",
1329 : : R"(This keyword is used to introduce the ale block, used to
1330 : : configure arbitrary Lagrangian-Eulerian (ALE) mesh movement.)",
1331 [ + - ][ + - ]: 5428 : "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1332 : :
1333 : : keywords.insert({"smoother", "Select mesh velocity smoother",
1334 : : R"(This keyword is used to select a mesh velocity smoother option, used
1335 : : for Arbitrary-Lagrangian-Eulerian (ALE) mesh motion. Valid options are
1336 [ + - ][ + - ]: 5428 : 'laplace', 'helmholtz', and 'none')", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1337 : :
1338 : : keywords.insert({"mesh_velocity", "Select mesh velocity",
1339 : : R"(This keyword is used to select a mesh velocity option, used for
1340 : : Arbitrary-Lagrangian-Eulerian (ALE) mesh motion. Valid options are
1341 [ + - ][ + - ]: 5428 : 'sine', 'fluid', and 'user_defined".)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1342 : :
1343 : : keywords.insert({"mesh_motion",
1344 : : "List of dimension indices that are allowed to move in ALE calculations",
1345 : : R"(This keyword is used to specify a list of integers (0, 1, or 2) whose
1346 : : coordinate directions corresponding to x, y, or z are allowed to move with
1347 : : the mesh velocity in ALE calculations. Useful for 1D/2D problems.)",
1348 [ + - ][ + - ]: 5428 : "vector of uints"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1349 : :
1350 : : keywords.insert({"meshforce", "Set ALE mesh force model parameter(s)",
1351 : : R"(This keyword is used to specify a vector of real numbers used to
1352 : : parameterize a mesh force model for ALE. The length of the vector must
1353 [ + - ][ + - ]: 6785 : exactly be 4.)", "vector of 4 reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1354 : :
1355 : : keywords.insert({"dvcfl",
1356 : : "Set the volume-change Courant-Friedrichs-Lewy (CFL) coefficient",
1357 : : R"(This keyword is used to specify the volume-change (dV/dt) CFL coefficient
1358 : : for variable-time-step-size simulations due to volume change in time in
1359 : : arbitrary-Lagrangian-Eulerian (ALE) calculations. Setting 'dvcfl' only has
1360 : : effect in ALE calculations and used together with 'cfl'. See also J. Waltz,
1361 : : N.R. Morgan, T.R. Canfield, M.R.J. Charest, L.D. Risinger, J.G. Wohlbier, A
1362 : : three-dimensional finite element arbitrary Lagrangian–Eulerian method for
1363 : : shock hydrodynamics on unstructured grids, Computers & Fluids, 92: 172-187,
1364 [ + - ][ + - ]: 5428 : 2014.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1365 : :
1366 : : keywords.insert({"vortmult",
1367 : : "Configure vorticity multiplier for ALE mesh velocity",
1368 : : R"(This keyword is used to configure the multiplier for the vorticity term
1369 : : in the mesh velocity smoother (mesh_velocity=fluid) or for the potential
1370 : : gradient for the Helmholtz mesh velocity (mesh_velocity=helmholtz) for ALE
1371 : : mesh motion. For 'fluid' this is coefficient c2 in Eq.(36) of Waltz,
1372 : : Morgan, Canfield, Charest, Risinger, Wohlbier, A three-dimensional finite
1373 : : element arbitrary Lagrangian–Eulerian method for shock hydrodynamics on
1374 : : unstructured grids, Computers & Fluids, 2014, and for 'helmholtz', this
1375 : : is coefficient a1 in Eq.(23) of Bakosi, Waltz, Morgan, Improved ALE mesh
1376 : : velocities for complex flows, International Journal for Numerical Methods
1377 [ + - ][ + - ]: 5428 : in Fluids, 2017. )", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1378 : :
1379 : : keywords.insert({"maxit",
1380 : : "Set the max number of iterations for the ALE mesh velocity linear solve",
1381 : : R"(This keyword is used to specify the maximum number of linear solver
1382 : : iterations taken to converge the mesh velocity linear solve in
1383 : : arbitrary-Lagrangian-Eulerian (ALE) calculations. See also J. Waltz,
1384 : : N.R. Morgan, T.R. Canfield, M.R.J. Charest, L.D. Risinger, J.G. Wohlbier, A
1385 : : three-dimensional finite element arbitrary Lagrangian–Eulerian method for
1386 : : shock hydrodynamics on unstructured grids, Computers & Fluids, 92: 172-187,
1387 [ + - ][ + - ]: 5428 : 2014.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1388 : :
1389 : : keywords.insert({"tolerance",
1390 : : "Set the tolerance for the ALE mesh velocity linear solve",
1391 : : R"(This keyword is used to specify the tolerance to converge the mesh
1392 : : velocity linear solve for in
1393 : : arbitrary-Lagrangian-Eulerian (ALE) calculations. See also J. Waltz,
1394 : : N.R. Morgan, T.R. Canfield, M.R.J. Charest, L.D. Risinger, J.G. Wohlbier, A
1395 : : three-dimensional finite element arbitrary Lagrangian–Eulerian method for
1396 : : shock hydrodynamics on unstructured grids, Computers & Fluids, 92: 172-187,
1397 [ + - ][ + - ]: 5428 : 2014.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1398 : :
1399 : : keywords.insert({"move",
1400 : : "Start configuration block configuring surface movement in ALE",
1401 : : R"(This keyword is used to introduce a move block, used to
1402 [ + - ][ + - ]: 6785 : configure surface movement for ALE simulations.)", "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1403 : :
1404 : : keywords.insert({"fntype",
1405 : : "Select how a user-defined function is interpreted",
1406 : : R"(This keyword is used to select how a user-defined function should be
1407 [ + - ][ + - ]: 5428 : interpreted.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1408 : :
1409 : : keywords.insert({"fn", "Specify a discrete user-defined function",
1410 : : R"(This keyword is used to specify a user-defined function block with
1411 : : discrete points, listed inside the fn block. Used in ale mesh motion and
1412 [ + - ][ + - ]: 5428 : time-dependent BC specification)", "reals" });
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1413 : :
1414 : : keywords.insert({"laplace",
1415 : : "Select the Laplace mesh velocity smoother for ALE",
1416 : : R"(This keyword is used to select the 'Laplace' mesh velocity smoother
1417 [ + - ][ + - ]: 5428 : for Arbitrary-Lagrangian-Eulerian (ALE) mesh motion.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1418 : :
1419 : : keywords.insert({"helmholtz",
1420 : : "Select the Helmholtz velocity for ALE",
1421 : : R"(This keyword is used to select the a velocity, computed from the
1422 : : Helmholtz-decomposition as the mesh velocity for
1423 : : Arbitrary-Lagrangian-Eulerian (ALE) mesh motion. See J. Bakosi, J. Waltz,
1424 : : N. Morgan, Improved ALE mesh velocities for complex flows, Int. J. Numer.
1425 [ + - ][ + - ]: 5428 : Meth. Fl., 1-10, 2017, https://doi.org/10.1002/fld.4403.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1426 : :
1427 : : keywords.insert({"none", "Select none option",
1428 : : R"(This keyword is used to select the 'none' option from a list of
1429 [ + - ][ + - ]: 5428 : configuration options.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1430 : :
1431 : : keywords.insert({"sine",
1432 : : "Prescribe sinusoidal mesh velocity for ALE",
1433 : : R"(This keyword is used to prescribe a sinusoidal mesh velocity
1434 [ + - ][ + - ]: 5428 : for Arbitrary-Lagrangian-Eulerian (ALE) mesh motion.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1435 : :
1436 : : keywords.insert({"fluid", "Select the fluid velocity for ALE",
1437 : : R"(This keyword is used to select the 'fluid' velocity as the mesh velocity
1438 [ + - ][ + - ]: 5428 : for Arbitrary-Lagrangian-Eulerian (ALE) mesh motion.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1439 : :
1440 : : // -----------------------------------------------------------------------
1441 : : // h/p adaptation objects
1442 : : // -----------------------------------------------------------------------
1443 : :
1444 : : keywords.insert({"amr",
1445 : : "Start configuration block configuring adaptive mesh refinement",
1446 : : R"(This keyword is used to introduce the amr block, used to
1447 [ + - ][ + - ]: 5428 : configure adaptive mesh refinement.)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1448 : :
1449 : : keywords.insert({"t0ref", "Enable mesh refinement at t<0",
1450 : : R"(This keyword is used to enable initial mesh refinement, which can be
1451 : : configured to perform multiple levels of mesh refinement based on various
1452 [ + - ][ + - ]: 5428 : refinement criteria and configuration settings.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1453 : :
1454 : : keywords.insert({"dtref", "Enable mesh refinement at t>0",
1455 : : R"(This keyword is used to enable solution-adaptive mesh refinement during
1456 [ + - ][ + - ]: 5428 : time stepping.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1457 : :
1458 : : keywords.insert({"dtref_uniform",
1459 : : "Enable mesh refinement at t>0 but only perform uniform refinement",
1460 : : R"(This keyword is used to force uniform-only solution-adaptive mesh
1461 [ + - ][ + - ]: 5428 : refinement during time stepping.)", "bool"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1462 : :
1463 : : keywords.insert({"dtfreq",
1464 : : "Set mesh refinement frequency during time stepping",
1465 : : R"(This keyword is used to configure the frequency of mesh refinement
1466 [ + - ][ + - ]: 5428 : during time stepping.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1467 : :
1468 : : keywords.insert({"maxlevels",
1469 : : "Set maximum allowed mesh refinement levels",
1470 : : R"(This keyword is used to configure the maximum allowed mesh refinement
1471 [ + - ][ + - ]: 5428 : levels.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1472 : :
1473 : : keywords.insert({"initial",
1474 : : "Configure initial mesh refinement (before time stepping)",
1475 : : R"(This keyword is used to add to a list of initial mesh refinement types
1476 : : that happens before t = 0. Allowed options are 'uniform',
1477 : : 'uniform_derefine', 'initial_conditions', 'coords', 'edgelist')",
1478 [ + - ][ + - ]: 6785 : "vector of strings"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1479 : :
1480 : : keywords.insert({"coords",
1481 : : "Configure initial refinement using coordinate planes",
1482 : : R"(This keyword can be used to configure entire volumes on a given side of
1483 : : a plane in 3D space. The keyword introduces an coords block within
1484 : : an amr block. All edges of the input mesh will be tagged for refinement
1485 : : whose end-points lie within the given ranges.
1486 : : Example: 'xminus 0.5' refines all edges whose end-point coordinates are
1487 : : less than 0.5. Multiple specifications are understood by combining with
1488 : : a logical AND. That is: 'xminus 0.5 yplus 0.3' refines all edges whose
1489 : : end-point x coordinates are less than 0.5 AND y coordinates are larger than
1490 [ + - ][ + - ]: 5428 : 0.3.)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1491 : :
1492 : : keywords.insert({"xminus",
1493 : : "Configure initial refinement for coordinates lower than an x-normal plane",
1494 : : R"(This keyword can be used to configure a mesh refinement volume for edges
1495 : : whose end-points are less than the x coordinate of a plane perpendicular
1496 : : to coordinate x in 3D space. The keyword must be used in a coords-block
1497 : : within an amr-block with syntax 'xminus <real>'. All edges of the
1498 : : input mesh will be tagged for refinement whose end-points lie less than (-)
1499 : : the real number given. Example: 'xminus 0.5' refines all edges whose end-point
1500 [ + - ][ + - ]: 5428 : x-coordinates are less than 0.5.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1501 : :
1502 : : keywords.insert({"xplus",
1503 : : "Configure initial refinement for coordinates larger than an x-normal plane",
1504 : : R"(This keyword can be used to configure a mesh refinement volume for edges
1505 : : whose end-points are larger than the x coordinate of a plane perpendicular
1506 : : to coordinate x in 3D space. The keyword must be used in a coords-block
1507 : : within an amr-block with syntax 'xplus <real>'. All edges of the
1508 : : input mesh will be tagged for refinement whose end-points lie larger than
1509 : : (+) the real number given. Example: 'xplus 0.5' refines all edges whose
1510 [ + - ][ + - ]: 5428 : end-point coordinates are larger than 0.5.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1511 : :
1512 : : keywords.insert({"yminus",
1513 : : "Configure initial refinement for coordinates lower than an y-normal plane",
1514 : : R"(This keyword can be used to configure a mesh refinement volume for edges
1515 : : whose end-points are less than the y coordinate of a plane perpendicular
1516 : : to coordinate y in 3D space. The keyword must be used in a coords-block
1517 : : within an amr-block with syntax 'yminus <real>'. All edges of the
1518 : : input mesh will be tagged for refinement whose end-points lie less than (-)
1519 : : the real number given. Example: 'yminus 0.5' refines all edges whose end-point
1520 [ + - ][ + - ]: 5428 : coordinates are less than 0.5.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1521 : :
1522 : : keywords.insert({"yplus",
1523 : : "Configure initial refinement for coordinates larger than an y-normal plane",
1524 : : R"(This keyword can be used to configure a mesh refinement volume for edges
1525 : : whose end-points are larger than the y coordinate of a plane perpendicular
1526 : : to coordinate y in 3D space. The keyword must be used in a coords-block
1527 : : within an amr-block with syntax 'yplus <real>'. All edges of the
1528 : : input mesh will be tagged for refinement whose end-points lie larger than
1529 : : (+) the real number given. Example: 'yplus 0.5' refines all edges whose
1530 [ + - ][ + - ]: 5428 : end-point coordinates are larger than 0.5.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1531 : :
1532 : : keywords.insert({"zminus",
1533 : : "Configure initial refinement for coordinates lower than an z-normal plane",
1534 : : R"(This keyword can be used to configure a mesh refinement volume for edges
1535 : : whose end-points are less than the z coordinate of a plane perpendicular
1536 : : to coordinate z in 3D space. The keyword must be used in a coords-block
1537 : : within an amr-block with syntax 'zminus <real>'. All edges of the
1538 : : input mesh will be tagged for refinement whose end-points lie less than (-)
1539 : : the real number given. Example: 'zminus 0.5' refines all edges whose end-point
1540 [ + - ][ + - ]: 5428 : coordinates are less than 0.5.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1541 : :
1542 : : keywords.insert({"zplus",
1543 : : "Configure initial refinement for coordinates larger than an z-normal plane",
1544 : : R"(This keyword can be used to configure a mesh refinement volume for edges
1545 : : whose end-points are larger than the z coordinate of a plane perpendicular
1546 : : to coordinate z in 3D space. The keyword must be used in a coords-block
1547 : : within an amr-block with syntax 'zplus <real>'. All edges of the
1548 : : input mesh will be tagged for refinement whose end-points lie larger than
1549 : : (+) the real number given. Example: 'zplus 0.5' refines all edges whose
1550 [ + - ][ + - ]: 5428 : end-point coordinates are larger than 0.5.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1551 : :
1552 : : keywords.insert({"edgelist",
1553 : : "Configure edge-node pairs for initial refinement",
1554 : : R"(This keyword can be used to configure a list of edges that are explicitly
1555 : : tagged for initial refinement during setup in inciter. The keyword
1556 : : introduces an edgelist block within an amr block and must
1557 : : contain a list of integer pairs, i.e., the number of ids must be even,
1558 : : denoting the end-points of the nodes (=edge) which should be tagged for
1559 [ + - ][ + - ]: 5428 : refinement.)", "vector of uints"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1560 : :
1561 : : keywords.insert({"error",
1562 : : "Configure the error type for solution-adaptive mesh refinement",
1563 : : R"(This keyword is used to select the algorithm used to estimate the error
1564 : : for solution-adaptive mesh refinement. Available options are 'jump' and
1565 [ + - ][ + - ]: 5428 : 'hessian')", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1566 : :
1567 : : keywords.insert({"refvar",
1568 : : "Configure dependent variables used for adaptive mesh refinement",
1569 : : R"(This keyword is used to configured a list of dependent variables that
1570 : : trigger adaptive mesh refinement based on estimating their numerical error.
1571 : : These refinement variables are used for both initial (i.e., before time
1572 : : stepping) mesh refinement as well as during time stepping. Only previously
1573 : : (i.e., earlier in the input file) selected dependent variables can be
1574 : : configured as refinement variables. Dependent variables are required to be
1575 : : defined in all equation system configuration blocks, e.g., transport ...
1576 : : end, by using the 'depvar' keyword. Example: transport depvar c end amr
1577 : : refvar c end end. Selecting a particular scalar component in a system is
1578 : : done by appending the equation number to the refvar: Example: transport
1579 : : depvar q ncomp 3 end amr refvar q1 q2 end end, which configures two
1580 : : refinement variables: the first and third scalar component of the previously
1581 [ + - ][ + - ]: 5428 : configured transport equation system.)", "vector of char"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1582 : :
1583 : : keywords.insert({"tol_refine", "Configure refine tolerance",
1584 : : R"(This keyword is used to set the tolerance used to tag an edge for
1585 [ + - ][ + - ]: 5428 : refinement if the relative error exceeds this value.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1586 : :
1587 : : keywords.insert({"tol_derefine",
1588 : : "Configure derefine tolerance",
1589 : : R"(This keyword is used to set the tolerance used to tag an edge for
1590 [ + - ][ + - ]: 5428 : derefinement if the relative error is below this value.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1591 : :
1592 : : keywords.insert({"uniform",
1593 : : "Select uniform initial mesh refinement",
1594 : : R"(This keyword is used to select uniform initial mesh refinement.)",
1595 [ + - ][ + - ]: 5428 : "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1596 : :
1597 : : keywords.insert({"uniform_derefine",
1598 : : "Select uniform initial mesh de-refinement",
1599 : : R"(This keyword is used to select uniform initial mesh de-refinement.)",
1600 [ + - ][ + - ]: 5428 : "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1601 : :
1602 : : keywords.insert({"initial_conditions",
1603 : : "Select initial-conditions-based initial mesh refinement",
1604 : : R"(This keyword is used to select initial-conditions-based initial mesh
1605 [ + - ][ + - ]: 5428 : refinement.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1606 : :
1607 : : keywords.insert({"jump",
1608 : : "Error estimation based on the solution jump normalized by solution value",
1609 : : R"(This keyword is used to select the jump-based error indicator for
1610 : : solution-adaptive mesh refinement. The error is estimated by computing the
1611 : : magnitude of the jump in the solution value normalized by the solution
1612 [ + - ][ + - ]: 5428 : value.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1613 : :
1614 : : keywords.insert({"hessian",
1615 : : "Error estimation based on the Hessian normalized by solution value",
1616 : : R"(This keyword is used to select the Hessian-based error indicator for
1617 : : solution-adaptive mesh refinement. The error is estimated by computing the
1618 : : Hessian (2nd derivative matrix) of the solution normalized by sum of the
1619 [ + - ][ + - ]: 5428 : absolute values of the gradients at edges-end points.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1620 : :
1621 : : keywords.insert({"pref",
1622 : : "Start configuration block configuring p-adaptive refinement",
1623 : : R"(This keyword is used to introduce the pref block, to
1624 [ + - ][ + - ]: 5428 : configure p-adaptive refinement)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1625 : :
1626 : : keywords.insert({"indicator",
1627 : : "Configure the specific adaptive indicator for p-adaptive DG scheme",
1628 : : R"(This keyword can be used to configure a specific type of adaptive
1629 : : indicator for p-adaptive refinement of the DG scheme. The keyword must
1630 : : be used in a pref block. Available options are 'pref_spectral_decay' and
1631 [ + - ][ + - ]: 5428 : 'pref_non_conformity'.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1632 : :
1633 : : keywords.insert({"ndofmax",
1634 : : "Configure the maximum number of degree of freedom for p-adaptive DG",
1635 : : R"(This keyword can be used to configure a maximum number of degree of
1636 : : freedom for p-adaptive refinement of the DG scheme. The keyword must
1637 [ + - ][ + - ]: 6785 : be used in a pref block.)", "uint either 4 or 10"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1638 : :
1639 : : keywords.insert({"tolref",
1640 : : "Configure the tolerance for p-refinement for p-adaptive DG",
1641 : : R"(This keyword can be used to configure a tolerance for p-adaptive
1642 : : refinement for the DG scheme. The keyword must be used in a pref
1643 : : block. All elements with a refinement indicator larger than this
1644 [ + - ][ + - ]: 6785 : tolerance will be p-refined.)", "real between 0 and 1"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1645 : :
1646 : : keywords.insert({"spectral_decay",
1647 : : "Select the spectral-decay indicator for p-adaptive DG scheme",
1648 : : R"(This keyword is used to select the spectral-decay indicator used for
1649 : : p-adaptive discontinuous Galerkin (DG) discretization used in inciter.
1650 : : See Control/Inciter/Options/PrefIndicator.hpp for other valid options.)",
1651 [ + - ][ + - ]: 5428 : "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1652 : :
1653 : : keywords.insert({"non_conformity",
1654 : : "Select the non-conformity indicator for p-adaptive DG scheme",
1655 : : R"(This keyword is used to select the non-conformity indicator used for
1656 : : p-adaptive discontinuous Galerkin (DG) discretization used in inciter.
1657 : : See Control/Inciter/Options/PrefIndicator.hpp for other valid options.)",
1658 [ + - ][ + - ]: 5428 : "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1659 : :
1660 : : // -----------------------------------------------------------------------
1661 : : // boundary condition options
1662 : : // -----------------------------------------------------------------------
1663 : :
1664 : : keywords.insert({"bc",
1665 : : "Start configuration block for boundary conditions",
1666 : : R"(This keyword is used to introduce the bc block, used for
1667 : : boundary conditions. This is a vector block, where each vector entry
1668 [ + - ][ + - ]: 6785 : specifies BCs for a particular mesh)", "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1669 : :
1670 : : keywords.insert({"mesh",
1671 : : "List meshes on which the following BCs apply",
1672 : : R"(This keyword is used to list multiple meshes on which the boundary
1673 : : conditions listed in this particular bc-block apply.)",
1674 [ + - ][ + - ]: 5428 : "vector of uints"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1675 : :
1676 : : keywords.insert({"dirichlet",
1677 : : "List sidesets with Dirichlet boundary conditions",
1678 : : R"(This keyword is used to list Dirichlet sidesets.
1679 : : This keyword is used to list multiple sidesets on
1680 : : which a prescribed Dirichlet BC is then applied. Such prescribed BCs
1681 : : at each point in space and time are evaluated using a built-in function,
1682 [ + - ][ + - ]: 6785 : e.g., using the method of manufactured solutions.)", "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1683 : :
1684 : : keywords.insert({"symmetry",
1685 : : "List sidesets with symmetry boundary conditions",
1686 : : R"(This keyword is used to list (multiple) symmetry BC sidesets.)",
1687 [ + - ][ + - ]: 6785 : "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1688 : :
1689 : : keywords.insert({"inlet",
1690 : : "List sidesets with inlet boundary conditions",
1691 : : R"(This keyword is used to list (multiple) inlet BC sidesets.)",
1692 [ + - ][ + - ]: 6785 : "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1693 : :
1694 : : keywords.insert({"outlet",
1695 : : "List sidesets with outlet boundary conditions",
1696 : : R"(This keyword is used to list (multiple) outlet BC sidesets.)",
1697 [ + - ][ + - ]: 6785 : "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1698 : :
1699 : : keywords.insert({"farfield",
1700 : : "List sidesets with farfield boundary conditions",
1701 : : R"(This keyword is used to list (multiple) farfield BC sidesets.
1702 : : Keywords allowed in a bc_farfield block are 'density', 'velocity',
1703 [ + - ][ + - ]: 6785 : 'pressure')", "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1704 : :
1705 : : keywords.insert({"extrapolate",
1706 : : "List sidesets with Extrapolation boundary conditions",
1707 : : R"(This keyword is used to list (multiple) extrapolate BC sidesets.)",
1708 [ + - ][ + - ]: 6785 : "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1709 : :
1710 : : keywords.insert({"noslipwall",
1711 : : "List sidesets with no-slip wall boundary conditions",
1712 : : R"(This keyword is used to list (multiple) no-slip wall BC sidesets.)",
1713 [ + - ][ + - ]: 6785 : "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1714 : :
1715 : : keywords.insert({"stag",
1716 : : "List sidesets with stagnation boundary conditions",
1717 : : R"(This keyword is used to list (multiple) stagnation BC sidesets.)",
1718 [ + - ][ + - ]: 6785 : "vector of uint(s)"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1719 : :
1720 : : keywords.insert({"timedep",
1721 : : "Start configuration block describing time dependent boundary conditions",
1722 : : R"(This keyword is used to introduce a bc_timedep block, used to
1723 : : specify the configuration of time dependent boundary conditions for a
1724 : : partial differential equation. A discrete function in time t in the form
1725 : : of a table with 6 columns (t, pressure(t), density(t), vx(t), vy(t), vz(t))
1726 : : is expected inside a fn ... end block, specified within the bc_timedep
1727 : : block. Multiple such bc_timedep blocks can be specified for different
1728 [ + - ][ + - ]: 5428 : time dependent BCs on different groups of side sets.)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1729 : :
1730 : : keywords.insert({"radius", "Specify a radius",
1731 : : R"(This keyword is used to specify a radius, used, e.g., in specifying a
1732 : : point in 3D space for setting a stagnation (velocity vector = 0).)",
1733 [ + - ][ + - ]: 5428 : "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1734 : :
1735 : : keywords.insert({"velocity", "Specify velocity",
1736 : : R"(This keyword is used to configure a velocity vector used in a
1737 : : context-specific way, e.g., for boundary or initial conditions.)",
1738 [ + - ][ + - ]: 6785 : "vector of 3 reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1739 : :
1740 : : // -----------------------------------------------------------------------
1741 : : // Rigid-body motion solver
1742 : : // -----------------------------------------------------------------------
1743 : :
1744 : : keywords.insert({"rigid_body_motion", "Specify a rigid body motion block",
1745 : : R"(This keyword is used to specify a rigid body motion block, to move an
1746 : : overset mesh as a rigid body. Number of degrees of freedom and the
1747 : : symmetry plane (if any) are specified within this block.)",
1748 [ + - ][ + - ]: 5428 : "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1749 : :
1750 : : keywords.insert({"rigid_body_dof",
1751 : : "Number of rigid body degrees of freedom", R"(This keyword is used to
1752 : : specify the number of degrees of freedom the rigid body has. Valid
1753 : : options are 3 and 6. 3 DOFs indicate translation in two dimensions and
1754 : : rotation about symmetry plane axis; 6 DOFs indication translation in
1755 : : three dimensions and rotation about three axes. If 3 DOFs is specified,
1756 : : symmetry plane is required; if 6 DOFs is specified symmetry plane is not
1757 [ + - ][ + - ]: 5428 : used.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1758 : :
1759 : : keywords.insert({"symmetry_plane", "Symmetry plane for rigid body motion",
1760 : : R"(This keyword is used to specify the symmetry plane for a 3 DOF rigid
1761 [ + - ][ + - ]: 5428 : body motion solver. 1: x-plane, 2: y-plane, 3: z-plane.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1762 : :
1763 : : // -----------------------------------------------------------------------
1764 : : // IC object
1765 : : // -----------------------------------------------------------------------
1766 : :
1767 : : keywords.insert({"ic",
1768 : : "Introduce an ic block used to configure initial conditions",
1769 : : R"(This keyword is used to introduce an ic block used to set initial
1770 [ + - ][ + - ]: 5428 : conditions.)", "block-title"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1771 : :
1772 : : keywords.insert({"materialid", "Specify material id",
1773 : : R"(This keyword is used to configure the material id within an IC box,
1774 : : IC mesh-block, farfield BC, or in the background as a part of the
1775 [ + - ][ + - ]: 5428 : initialization.)", "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1776 : :
1777 : : keywords.insert({"temperature", "Specify temperature",
1778 : : R"(This keyword is used to configure temperature, used for, e.g.,
1779 [ + - ][ + - ]: 5428 : boundary or initial conditions.)" , "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1780 : :
1781 : : keywords.insert({"mass_fractions", "Specify species mass fractions",
1782 : : R"(This keyword is used to configure species mass fractions, used for,
1783 [ + - ][ + - ]: 5428 : e.g., boundary or initial conditions.)" , "vector of reals"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1784 : :
1785 : : keywords.insert({"box",
1786 : : "Introduce a box block used to assign initial conditions",
1787 : : R"(This keyword is used to introduce a IC box block used to assign
1788 : : initial conditions within a box given by spatial coordinates.)",
1789 [ + - ][ + - ]: 6785 : "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1790 : :
1791 : : keywords.insert({"meshblock",
1792 : : "Introduce a meshblock block used to assign initial conditions",
1793 : : R"(This keyword is used to introduce a IC meshblock block used to
1794 : : assign initial conditions within a mesh block specified in the mesh file.)",
1795 [ + - ][ + - ]: 6785 : "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1796 : :
1797 : : keywords.insert({"blockid", "Specify mesh block id",
1798 : : R"(This keyword is used to configure the mesh block id within the
1799 : : meshblock-block as a part of the initialization. It is strongly
1800 : : recommended to use contiguous block ids in mesh file starting from 1.)",
1801 [ + - ][ + - ]: 5428 : "uint"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1802 : :
1803 : : keywords.insert({"volume", "Specify volume",
1804 : : R"(This keyword is used to configure the volume of a meshblock.)",
1805 [ + - ][ + - ]: 4071 : "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ - + ]
[ - + ][ - - ]
1806 : :
1807 : : keywords.insert({"mass", "Specify mass",
1808 : : R"(This keyword is used to configure the mass within a box/meshblock,
1809 : : or mass of the rigid body which is conformally meshed using the overset
1810 [ + - ][ + - ]: 4071 : mesh.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ - + ]
[ - + ][ - - ]
1811 : :
1812 : : keywords.insert({"energy", "Specify energy per unit mass",
1813 : : R"(This keyword is used to configure energy per unit mass, used for, e.g.,
1814 [ + - ][ + - ]: 5428 : boundary or initial conditions.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1815 : :
1816 : : keywords.insert({"energy_content", "Specify energy per unit volume",
1817 : : R"(This keyword is used to configure energy per unit volume, used for
1818 [ + - ][ + - ]: 5428 : initial conditions.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1819 : :
1820 : : keywords.insert({"xmin", "Minimum x coordinate",
1821 : : R"(This keyword used to configure a minimum x coordinate to specify
1822 [ + - ][ + - ]: 5428 : a box.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1823 : :
1824 : : keywords.insert({"xmax", "Maximum x coordinate",
1825 : : R"(This keyword used to configure a maximum x coordinate to specify
1826 [ + - ][ + - ]: 5428 : a box.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1827 : :
1828 : : keywords.insert({"ymin", "Minimum y coordinate",
1829 : : R"(This keyword used to configure a minimum y coordinate to specify
1830 [ + - ][ + - ]: 5428 : a box.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1831 : :
1832 : : keywords.insert({"ymax", "Maximum y coordinate",
1833 : : R"(This keyword used to configure a maximum y coordinate to specify
1834 [ + - ][ + - ]: 5428 : a box.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1835 : :
1836 : : keywords.insert({"zmin", "Minimum z coordinate",
1837 : : R"(This keyword used to configure a minimum z coordinate to specify
1838 [ + - ][ + - ]: 5428 : a box.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1839 : :
1840 : : keywords.insert({"zmax", "Maximum z coordinate",
1841 : : R"(This keyword used to configure a maximum z coordinate to specify
1842 [ + - ][ + - ]: 5428 : a box.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1843 : :
1844 : : keywords.insert({"orientation", "Configure orientation",
1845 : : R"(Configure orientation of an IC box for rotation about centroid of box.)",
1846 [ + - ][ + - ]: 6785 : "vector of 3 reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1847 : :
1848 : : keywords.insert({"initiate", "Initiation type",
1849 : : R"(This keyword is used to select an initiation type to configure how
1850 : : values are assigned for a box/meshblock initialization. This can be used
1851 : : to specify, how the values are assigned to mesh nodes within a box. Uses:
1852 : : (1) impulse: assign the full values at t=0 for all points in a box,
1853 : : (2) linear: use a linear function in time and space, configured with an
1854 : : initiation point in space, a constant velocity of the growing spherical
1855 : : front in time (and space) linearly, and width of the front and assigns
1856 : : values to mesh points falling within the growing spherical shell inside
1857 [ + - ][ + - ]: 4071 : a configured box.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ - + ]
[ - + ][ - - ]
1858 : :
1859 : : keywords.insert({"init_time","Specify the initialization time",
1860 : : R"(This keyword is used to specify the time at which the propagating front
1861 : : is initialized for a mesh block or box IC, with 'initiate linear' type.
1862 : : Delays in initializing separate mesh blocks or boxes can be achieved using
1863 [ + - ][ + - ]: 5428 : different initialization times.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1864 : :
1865 : : keywords.insert({"front_width", "Specify a front width",
1866 : : R"(This keyword is used to specify the width of the propagating front for
1867 : : a mesh block or box IC, with 'initiate linear' type. The suggested value
1868 : : of the front width is about 4-5 times the mesh size inside the mesh block
1869 [ + - ][ + - ]: 5428 : or box.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1870 : :
1871 : : keywords.insert({"front_speed", "Specify a front speed",
1872 : : R"(This keyword is used to specify the speed at which a front propagates
1873 [ + - ][ + - ]: 5428 : for a mesh block or box IC, with 'initiate linear' type.)", "real"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1874 : :
1875 : : keywords.insert({"impulse",
1876 : : "Select the impulse initiation type, for a box/meshblock IC",
1877 : : R"(This keyword can be used to select the 'impulse' initiation/assignment
1878 : : type for box initial conditions. It simply assigns the prescribed values
1879 [ + - ][ + - ]: 5428 : to all mesh points within a configured box at t=0.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1880 : :
1881 : : keywords.insert({"linear",
1882 : : "Select the linear initiation type, for a box/meshblock IC",
1883 : : R"(This keyword is be used to specify the 'linear' initiation parameters
1884 : : for a particular box or meshblock, as a part of the 'energy_pill'
1885 : : initialization. Linear initiation uses a linear function in time and space,
1886 : : configured with an initiation point in space, a constant velocity of the
1887 : : growing spherical front in time (and space) linearly, and width of the front
1888 : : and assigns values to mesh points falling within the growing spherical shell
1889 : : inside a configured box or meshblock. The following keywords are required
1890 : : in the box/meshblock block if 'linear' is used: 'init_time',
1891 [ + - ][ + - ]: 5428 : 'front_width', 'front_speed')"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1892 : :
1893 : : // -----------------------------------------------------------------------
1894 : : // Overset mesh object
1895 : : // -----------------------------------------------------------------------
1896 : :
1897 : : keywords.insert({"mesh",
1898 : : "Start configuration block assigning a mesh to a solver",
1899 : : R"(This keyword is used to introduce a mesh block, used to
1900 [ + - ][ + - ]: 6785 : assign and configure a mesh to a solver.)", "vector block-title"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1901 : :
1902 : : keywords.insert({"filename", "Set filename",
1903 [ + - ][ + - ]: 4071 : R"(Set filename, e.g., mesh filename for solver coupling.)", "string"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ - + ]
[ - + ][ - - ]
1904 : :
1905 : : keywords.insert({"location", "Configure location",
1906 : : R"(Configure location of a mesh relative to another.)",
1907 [ + - ][ + - ]: 6785 : "vector of 3 reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1908 : :
1909 : : keywords.insert({"orientation", "Configure orientation",
1910 : : R"(Configure orientation of a mesh relative to another.)",
1911 [ + - ][ + - ]: 6785 : "vector of 3 reals"});
[ + - ][ + - ]
[ + - ][ + - ]
[ + - ][ + - ]
[ - + ][ - - ]
1912 : :
1913 : : // -----------------------------------------------------------------------
1914 : : // pre-configured problems
1915 : : // -----------------------------------------------------------------------
1916 : :
1917 : : keywords.insert({"user_defined",
1918 : : "Select user-defined specification for a problem",
1919 : : R"(This keyword is used to select the user-defined specification for an
1920 : : option. This could be a 'problem' to be solved by a partial differential
1921 : : equation, but can also be a 'user-defined' mesh velocity specification for
1922 [ + - ][ + - ]: 5428 : ALE mesh motion.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1923 : :
1924 : : keywords.insert({"shear_diff",
1925 : : "Select the shear + diffusion test problem ",
1926 : : R"(This keyword is used to select the shear diffusion test problem. The
1927 : : initial and boundary conditions are specified to set up the test problem
1928 : : suitable to exercise and test the advection and diffusion terms of the
1929 [ + - ][ + - ]: 5428 : scalar transport equation.)" });
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1930 : :
1931 : : keywords.insert({"slot_cyl",
1932 : : "Select Zalesak's slotted cylinder test problem",
1933 : : R"(This keyword is used to select Zalesak's slotted cylinder test
1934 : : problem. The initial and boundary conditions are specified to set up the
1935 : : test problem suitable to exercise and test the advection and diffusion
1936 [ + - ][ + - ]: 5428 : terms of the scalar transport equation.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1937 : :
1938 : : keywords.insert({"gauss_hump",
1939 : : "Select advection of 2D Gaussian hump test problem",
1940 : : R"(This keyword is used to select the advection of 2D Gaussian hump test
1941 : : problem. The initial and boundary conditions are specified to set up the
1942 : : test problem suitable to exercise and test the advection
1943 [ + - ][ + - ]: 5428 : terms of the scalar transport equation.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1944 : :
1945 : : keywords.insert({"cyl_advect",
1946 : : "Select advection of cylinder test problem",
1947 : : R"(This keyword is used to select the advection of cylinder test
1948 : : problem. The initial and boundary conditions are specified to set up the
1949 : : test problem suitable to exercise and test the advection
1950 [ + - ][ + - ]: 5428 : terms of the scalar transport equation.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1951 : :
1952 : : keywords.insert({"cyl_vortex",
1953 : : "Select deformation of cylinder in a vortex test problem",
1954 : : R"(This keyword is used to select the test problem which deforms a cylinder
1955 : : in a vortical velocity field. The initial and boundary conditions are
1956 : : specified to set up the test problem suitable to exercise and test the
1957 [ + - ][ + - ]: 5428 : advection terms of the scalar transport equation.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1958 : :
1959 : : keywords.insert({"vortical_flow",
1960 : : "Select the vortical flow test problem ",
1961 : : R"(This keyword is used to select the vortical flow test problem. The
1962 : : purpose of this test problem is to test velocity errors generated by spatial
1963 : : operators in the presence of 3D vorticity and in particluar the
1964 : : superposition of planar and vortical flows, analogous to voritcity
1965 : : stretching. For more details, see Waltz,
1966 : : et. al, "Manufactured solutions for the three-dimensional Euler equations
1967 : : with relevance to Inertial Confinement Fusion", Journal of Computational
1968 [ + - ][ + - ]: 5428 : Physics 267 (2014) 196-209.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1969 : :
1970 : : keywords.insert({"nl_energy_growth",
1971 : : "Select the nonlinear energy growth test problem",
1972 : : R"(This keyword is used to select the nonlinear energy growth test problem.
1973 : : The purpose of this test problem is to test nonlinear, time dependent energy
1974 : : growth and the subsequent development of pressure gradients due to coupling
1975 : : between the internal energy and the equation of state. For more details,
1976 : : see Waltz, et. al, "Manufactured
1977 : : solutions for the three-dimensional Euler equations with relevance to
1978 : : Inertial Confinement Fusion", Journal of Computational Physics 267 (2014)
1979 [ + - ][ + - ]: 5428 : 196-209.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
1980 : :
1981 : : keywords.insert({"rayleigh_taylor",
1982 : : "Select the Rayleigh-Taylor test problem ",
1983 : : R"(This keyword is used to select the Rayleigh-Taylor unstable configuration
1984 : : test problem. The purpose of this test problem is to assess time dependent
1985 : : fluid motion in the presence of Rayleigh-Taylor unstable conditions, i.e.
1986 : : opposing density and pressure gradients.
1987 : : For more details, see Waltz, et. al, "Manufactured solutions for the
1988 : : three-dimensional Euler equations with relevance to Inertial Confinement
1989 [ + - ][ + - ]: 5428 : Fusion", Journal of Computational Physics 267 (2014) 196-209.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
1990 : :
1991 : : keywords.insert({"taylor_green",
1992 : : "Select the Taylor-Green test problem ",
1993 : : R"(This keyword is used to select the Taylor-Green vortex test problem. The
1994 : : purpose of this problem is to test time accuracy and the correctness of the
1995 : : discretization of the viscous term in the Navier-Stokes equation. For more
1996 : : details on the flow, see G.I. Taylor, A.E.
1997 : : Green, "Mechanism of the Production of Small Eddies from Large Ones", Proc.
1998 : : R. Soc. Lond. A 1937 158 499-521; DOI: 10.1098/rspa.1937.0036. Published 3
1999 [ + - ][ + - ]: 5428 : February 1937.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
2000 : :
2001 : : keywords.insert({"sod_shocktube",
2002 : : "Select the Sod shock-tube test problem ",
2003 : : R"(This keyword is used to select the Sod shock-tube test problem. The
2004 : : purpose of this test problem is to test the correctness of the
2005 : : approximate Riemann solver and its shock and interface capturing
2006 : : capabilities. For more details, see
2007 : : G. A. Sod, "A Survey of Several Finite Difference Methods for Systems of
2008 : : Nonlinear Hyperbolic Conservation Laws", J. Comput. Phys., 27 (1978)
2009 [ + - ][ + - ]: 5428 : 1–31.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
2010 : :
2011 : : keywords.insert({"rotated_sod_shocktube",
2012 : : "Select the rotated Sod shock-tube test problem ",
2013 : : R"(This keyword is used to select the rotated Sod shock-tube test problem.
2014 : : This the same as Sod shocktube but the geometry is rotated about X, Y, Z
2015 : : each by 45 degrees (in that order) so that none of the domain boundary align
2016 : : with any of the coordinate directions. The purpose of this test problem is
2017 : : to test the correctness of the approximate Riemann solver and its shock and
2018 : : interface capturing capabilities in an arbitrarily oriented geometry.
2019 : : For more details on the Sod
2020 : : problem, see G. A. Sod, "A Survey of Several Finite Difference Methods for
2021 : : Systems of Nonlinear Hyperbolic Conservation Laws", J. Comput. Phys., 27
2022 [ + - ][ + - ]: 5428 : (1978) 1–31.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
2023 : :
2024 : : keywords.insert({"shedding_flow",
2025 : : "Select the Shedding flow test problem ",
2026 : : R"(This keyword is used to select the Shedding flow test problem. It
2027 : : describe a quasi-2D inviscid flow over a triangular wedge in tetrahedron
2028 : : grid. The purpose of this test problem is to test the capability of DG
2029 : : scheme for retaining the shape of vortices and also different error
2030 : : indicator behavior for this external flow problem when p-adaptive DG scheme
2031 [ + - ][ + - ]: 5428 : is applied.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
2032 : :
2033 : : keywords.insert({"sedov_blastwave",
2034 : : "Select the Sedov blast-wave test problem ",
2035 : : R"(This keyword is used to select the Sedov blast-wave test problem. The
2036 : : purpose of this test problem is to test the correctness of the
2037 : : approximate Riemann solver and its strong shock and interface capturing
2038 [ + - ][ + - ]: 5428 : capabilities.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
2039 : :
2040 : : keywords.insert({"interface_advection",
2041 : : "Select the interface advection test problem ",
2042 : : R"(This keyword is used to select the interface advection test problem.
2043 : : The purpose of this test problem is to test the well-balancedness of the
2044 : : multi-material discretization and its interface capturing
2045 [ + - ][ + - ]: 5428 : capabilities.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
2046 : :
2047 : : keywords.insert({"gauss_hump_compflow",
2048 : : "Select advection of 2D Gaussian hump test problem",
2049 : : R"(This keyword is used to select the advection of 2D Gaussian hump test
2050 : : problem. The initial and boundary conditions are specified to set up the
2051 : : test problem suitable to exercise and test the advection terms of the
2052 : : Euler equations. The baseline of the density distribution in this testcase
2053 : : is 1 instead of 0 in gauss_hump_transport which enables it to be the
2054 [ + - ][ + - ]: 5428 : regression testcase for p-adaptive DG scheme.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
2055 : :
2056 : : keywords.insert({"waterair_shocktube",
2057 : : "Select the water-air shock-tube test problem ",
2058 : : R"(This keyword is used to select the Water-air shock-tube test problem.
2059 : : The purpose of this test problem is to test the correctness of the
2060 : : multi-material pressure relaxation procedure and its interface capturing
2061 : : capabilities. For more details, see
2062 : : Chiapolino, A., Saurel, R., & Nkonga, B. (2017). Sharpening diffuse
2063 : : interfaces with compressible fluids on unstructured meshes. Journal of
2064 [ + - ][ + - ]: 5428 : Computational Physics, 340, 389-417.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
2065 : :
2066 : : keywords.insert({"shock_hebubble",
2067 : : "Select the shock He-bubble test problem ",
2068 : : R"(This keyword is used to select the shock He-bubble test problem. The
2069 : : purpose of this test problem is to test the correctness of the
2070 : : multi-material algorithm and its shock-interface interaction
2071 : : capabilities. For more details, see
2072 : : Quirk, J. J., & Karni, S. (1996). On the dynamics of a shock–bubble
2073 [ + - ][ + - ]: 5428 : interaction. Journal of Fluid Mechanics, 318, 129-163.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
2074 : :
2075 : : keywords.insert({"underwater_ex",
2076 : : "Select the underwater explosion test problem ",
2077 : : R"(This keyword is used to select the underwater explosion test problem.
2078 : : The purpose of this test problem is to test the correctness of the
2079 : : multi-material algorithm and its interface capturing capabilities in the
2080 : : presence of strong shocks and large deformations.
2081 : : For more details, see
2082 : : Chiapolino, A., Saurel, R., & Nkonga, B. (2017). Sharpening diffuse
2083 : : interfaces with compressible fluids on unstructured meshes. Journal of
2084 [ + - ][ + - ]: 5428 : Computational Physics, 340, 389-417.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
2085 : :
2086 : : keywords.insert({"shockdensity_wave",
2087 : : "Select the shock-density wave test problem ",
2088 : : R"(This keyword is used to select the shock-density wave test problem.
2089 : : THe purpose of this test problem is to assess the accuracy of high order
2090 : : method in predicting the interaction of a density wave with a shock front.
2091 : : For more details, see Yu, L., Matthias
2092 : : I. (2014). Discontinuous Galerkin method for multicomponent chemically
2093 : : reacting flows and combustion. Journal of Computational Physics, 270,
2094 [ + - ][ + - ]: 5428 : 105-137.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
2095 : :
2096 : : keywords.insert({"equilinterface_advect",
2097 : : "Select the advection of equilibrium interface problem ",
2098 : : R"(This keyword is used to select the advection of equilibrium interface
2099 : : problem. This is a manufactured problem with source terms with nonlinear
2100 : : solutions near the material interface. Source terms are used to ensure
2101 [ + - ][ + - ]: 5428 : that the conservation laws are satisfied by the manufactured solution.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
2102 : :
2103 : : keywords.insert({"sinewave_packet",
2104 : : "Select the advection of sinewave packet problem ",
2105 : : R"(This keyword is used to select the advection of sinewave packet
2106 [ + - ][ + - ]: 5428 : problem.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ - + ][ - - ]
2107 : :
2108 : : keywords.insert({"richtmyer_meshkov",
2109 : : "Select the Richtmyer-Meshkov instability problem ",
2110 : : R"(This keyword is used to select the Richtmyer-Meshkov instability
2111 [ + - ][ + - ]: 6785 : problem. In this problem, a shock hits a perturbed material interface.)"});
[ + - ][ + - ]
[ + - ][ - + ]
[ + - ][ + - ]
[ + - ][ - - ]
2112 : :
2113 : : // -----------------------------------------------------------------------
2114 : :
2115 : : // Initialize help: fill own keywords
2116 : : tk::ctr::Info ctrinfoFill(get< tag::cmd, tag::ctrinfo >());
2117 [ + + ]: 336536 : for (const auto& i : keywords) {
2118 [ + - ]: 335179 : ctrinfoFill.fill(i);
2119 : : }
2120 : 1357 : }
2121 : :
2122 : : //! Query scheme centering
2123 : : //! \return Scheme centering
2124 : 193 : tk::Centering centering() const
2125 [ + - ]: 386 : { return ctr::Scheme().centering( get< tag::scheme >() ); }
2126 : :
2127 : : /** @name Pack/Unpack: Serialize InputDeck object for Charm++ */
2128 : : ///@{
2129 : : //! \brief Pack/Unpack serialize member function
2130 : : //! \param[in,out] p Charm++'s PUP::er serializer object reference
2131 : : void pup( PUP::er& p ) { tk::TaggedTuple< ConfigMembers >::pup(p); }
2132 : : //! \brief Pack/Unpack serialize operator|
2133 : : //! \param[in,out] p Charm++'s PUP::er serializer object reference
2134 : : //! \param[in,out] c InputDeck object reference
2135 : : friend void operator|( PUP::er& p, InputDeck& c ) { c.pup(p); }
2136 : : //@}
2137 : :
2138 : : };
2139 : :
2140 : : } // ctr::
2141 : : } // inciter::
2142 : :
2143 : : #endif // InputDeck_h
|