12 namespace EulerInitialStates
23 template <
typename Description,
int dim,
typename Number>
33 const std::string subsection)
35 , hyperbolic_system_(hyperbolic_system)
40 this->add_parameter(
"primitive state",
42 "Initial 1d primitive state (rho, u, p)");
44 const auto convert_states = [&]() {
45 const auto view = hyperbolic_system_.template view<dim, Number>();
46 state_ = view.from_initial_state(primitive_);
48 this->parse_parameters_call_back.connect(convert_states);
61 dealii::Tensor<1, 3, Number> primitive_;
Euler::HyperbolicSystem HyperbolicSystem