36 sie_expression_ =
"4. * ln(rho)";
37 add_parameter(
"specific internal energy",
39 "A function expression for the specific internal energy "
40 "as a function of density: e(rho)");
42 p_expression_ =
"4. * rho";
43 add_parameter(
"pressure",
45 "A function expression for the pressure as a function of "
48 sos_expression_ =
"2.";
49 add_parameter(
"speed of sound",
51 "A function expression for the speed of sound as a "
52 "function of density: a(rho)");
58 const auto set_up_muparser = [
this] {
59 sie_function_ = std::make_unique<dealii::FunctionParser<1>>();
60 sie_function_->initialize(
"rho", sie_expression_, {});
62 p_function_ = std::make_unique<dealii::FunctionParser<1>>();
63 p_function_->initialize(
"rho", p_expression_, {});
65 sos_function_ = std::make_unique<dealii::FunctionParser<1>>();
66 sos_function_->initialize(
"rho", sos_expression_, {});
70 ParameterAcceptor::parse_parameters_call_back.connect(set_up_muparser);