37 sie_expression_ =
"4. * ln(rho)";
38 add_parameter(
"specific internal energy",
40 "A function expression for the specific internal energy "
41 "as a function of density: e(rho)");
43 p_expression_ =
"4. * rho";
44 add_parameter(
"pressure",
46 "A function expression for the pressure as a function of "
49 sos_expression_ =
"2.";
50 add_parameter(
"speed of sound",
52 "A function expression for the speed of sound as a "
53 "function of density: a(rho)");
59 const auto set_up_muparser = [
this] {
60 sie_function_ = std::make_unique<dealii::FunctionParser<1>>();
61 sie_function_->initialize(
"rho", sie_expression_, {});
63 p_function_ = std::make_unique<dealii::FunctionParser<1>>();
64 p_function_->initialize(
"rho", p_expression_, {});
66 sos_function_ = std::make_unique<dealii::FunctionParser<1>>();
67 sos_function_->initialize(
"rho", sos_expression_, {});
71 ParameterAcceptor::parse_parameters_call_back.connect(set_up_muparser);