14 prm.enter_subsection(
"analytical solution");
17 Patterns::Tools::Convert<bool>::to_string(
enable),
19 "Enable the calculation of the analytical solution and L2 error");
24 "State whether from the post-processing values should be printed.",
32 "File name for the output for the L2Error table with respect to time or mesh ");
36 prm.enter_subsection(
"uvwp");
37 uvwp.declare_parameters(prm, dim + 1);
38 prm.leave_subsection();
41 prm.enter_subsection(
"temperature");
43 prm.leave_subsection();
47 prm.enter_subsection(
"tracer");
48 tracer.declare_parameters(prm);
49 prm.leave_subsection();
52 prm.enter_subsection(
"QMOM");
54 prm.leave_subsection();
57 prm.enter_subsection(
"CLS");
58 phase.declare_parameters(prm);
59 prm.leave_subsection();
63 prm.enter_subsection(
"cahn hilliard");
65 prm.leave_subsection();
69 prm.enter_subsection(
"electromagnetics");
71 prm.leave_subsection();
74 prm.leave_subsection();
81 prm.enter_subsection(
"analytical solution");
82 enable = prm.get_bool(
"enable");
90 prm.enter_subsection(
"uvwp");
91 uvwp.parse_parameters(prm);
92 prm.leave_subsection();
96 prm.enter_subsection(
"temperature");
98 prm.leave_subsection();
102 prm.enter_subsection(
"tracer");
103 tracer.parse_parameters(prm);
104 prm.leave_subsection();
107 prm.enter_subsection(
"QMOM");
108 qmom.parse_parameters(prm);
109 prm.leave_subsection();
113 prm.enter_subsection(
"CLS");
114 phase.parse_parameters(prm);
115 prm.leave_subsection();
119 prm.enter_subsection(
"cahn hilliard");
121 prm.leave_subsection();
125 prm.enter_subsection(
"electromagnetics");
127 prm.leave_subsection();
130 prm.leave_subsection();
Implements analytical solutions for the Navier-Stokes equations and the other physics supported by le...
Functions::ParsedFunction< dim > cahn_hilliard
Parameters::Verbosity verbosity
Parameters::QMOMFunctions< dim > qmom
Functions::ParsedFunction< dim > temperature
virtual void declare_parameters(ParameterHandler &prm)
Declare the parameters required by the analytical solution within a parameter file.
Functions::ParsedFunction< dim > electromagnetics
Functions::ParsedFunction< dim > phase
Functions::ParsedFunction< dim > uvwp
Functions::ParsedFunction< dim > tracer
virtual void parse_parameters(ParameterHandler &prm)
Parse the parameters required by the analytical solution within a parameter file.
EnumType string_to_enum(const std::string &name)
Return the enumerator whose identifier is name, e.g. to parse the value of a parameter entry into its...
void declare_enum_entry(ParameterHandler &prm, const std::string &entry_name, const EnumType default_value, const std::string &description, const DeprecatedEnumNames< EnumType > &deprecated_names={}, const std::vector< EnumType > &allowed_values={})
Declare a parameter entry whose value is an enumerator. The default value, the accepted values and th...
Contains all the classes related to the calculation of the analytical solutions for the various physi...
const std::vector< Verbosity > & quiet_or_verbose()
Return the verbosity levels accepted by the parameters which do not support Verbosity::extra_verbose.
const DeprecatedEnumNames< Verbosity > & deprecated_verbosity_names()
Return the deprecated strings of the parameters parsed into a Verbosity, which remain accepted in par...
static void declare_parameters(ParameterHandler &prm)
Declare the "scalars" and "distribution" subsections in the current subsection. All the functions are...