10#include <compile_time_options.h>
16 namespace ShallowWaterInitialStates
27 template <
typename Description,
int dim,
typename Number>
37 const std::string subsection)
39 , hyperbolic_system_(hyperbolic_system)
44 "primitive state", primitive_,
"Initial 1d primitive state (h, u)");
50 const auto view = hyperbolic_system_.template view<dim, Number>();
51 return view.from_initial_state(primitive_);
59 dealii::Tensor<1, 2, Number> primitive_;
Euler::HyperbolicSystem HyperbolicSystem