36 const std::string subsection)
38 , hyperbolic_system_(hyperbolic_system)
42 if constexpr (View::have_energy_equation)
44 this->add_parameter(
"primitive state",
46 "1d primitive state [rho, u, p] (or [rho, u] for "
47 "the barotropic Euler module)");
49 const auto convert_states = [&]() {
50 const auto view = hyperbolic_system_.template view<dim, Number>();
51 state_ = view.from_initial_state(primitive_);
53 this->parse_parameters_call_back.connect(convert_states);