15 namespace ShallowWater
24 template <
int dim,
typename Number>
32 const std::string sub)
34 , hyperbolic_system(hyperbolic_system)
36 still_water_depth_ = 0.5;
37 this->add_parameter(
"still water depth",
39 "Depth of still water outside circular dam");
41 this->add_parameter(
"radius", radius_,
"Radius of circular dam ");
45 "dam amplitude", dam_amplitude_,
"Amplitude of circular dam");
50 const Number r = point.norm_square();
51 const Number h = (r <= radius_ ? dam_amplitude_ : still_water_depth_);
61 Number still_water_depth_;
63 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