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