14 namespace ShallowWaterInitialStates
25 template <
typename Description,
int dim,
typename Number>
35 const std::string subsection)
37 , hyperbolic_system_(hyperbolic_system)
42 "primitive state", primitive_,
"Initial 1d primitive state (h, u)");
48 const auto view = hyperbolic_system_.template view<dim, Number>();
49 return view.from_initial_state(primitive_);
57 dealii::Tensor<1, 2, Number> primitive_;
Euler::HyperbolicSystem HyperbolicSystem