10#include <compile_time_options.h>
17 namespace ShallowWater
26 template <
int dim,
typename Number>
34 const std::string sub)
36 , hyperbolic_system(hyperbolic_system)
38 still_water_depth_ = 0.5;
39 this->add_parameter(
"still water depth",
41 "Depth of still water outside circular dam");
43 this->add_parameter(
"radius", radius_,
"Radius of circular dam ");
47 "dam amplitude", dam_amplitude_,
"Amplitude of circular dam");
52 const Number r = point.norm_square();
53 const Number h = (r <= radius_ ? dam_amplitude_ : still_water_depth_);
63 Number still_water_depth_;
65 Number dam_amplitude_;
typename View::state_type state_type
CircularDamBreak(const HyperbolicSystem &hyperbolic_system, const std::string sub)
state_type compute(const dealii::Point< dim > &point, Number) final
dealii::Tensor< 1, problem_dimension, Number > state_type
Euler::Description Description