![]() |
ryujin 2.1.1 revision 15c5f3ea3ef91eaf08db04f6f4c18a1823a6f822
|
#include <source/shallow_water/initial_state_flow_over_bump.h>
Public Member Functions | |
FlowOverBump (const HyperbolicSystem &hyperbolic_system, const std::string subsec) | |
void | parse_parameters_callback () |
state_type | compute (const dealii::Point< dim > &point, Number t) final |
auto | initial_precomputations (const dealii::Point< dim > &point) -> typename InitialState< dim, Number, state_type, 1 >::precomputed_type final |
![]() | |
InitialState (const std::string &name, const std::string &subsection) | |
virtual state_type | compute (const dealii::Point< dim > &point, state_type t)=0 |
virtual precomputed_state_type | initial_precomputations (const dealii::Point< dim > &) |
auto & | name () const |
Additional Inherited Members | |
![]() | |
using | HyperbolicSystemView = typename Description::HyperbolicSystem::template View< dim, state_type > |
using | state_type = typename HyperbolicSystemView::state_type |
using | precomputed_state_type = typename HyperbolicSystemView::precomputed_state_type |
Flow over a bump with a hydraulic jump. See: Sec.~7.2 in [8].
Definition at line 22 of file initial_state_flow_over_bump.h.
|
inline |
Definition at line 25 of file initial_state_flow_over_bump.h.
References ryujin::ShallowWater::FlowOverBump< dim, Number, state_type >::parse_parameters_callback().
|
inline |
Definition at line 40 of file initial_state_flow_over_bump.h.
Referenced by ryujin::ShallowWater::FlowOverBump< dim, Number, state_type >::FlowOverBump().
|
inlinefinal |
Definition at line 47 of file initial_state_flow_over_bump.h.
References ryujin::pow().
|
inlinefinalvirtual |
Given a position point
returns a precomputed value used for the flux computation via HyperbolicSystem::flux_contribution().
The default implementation of this function simply returns a zero value. In case of the The Shallow Water Equations we precompute the bathymetry. In case of LinearTransport we precompute the advection field.
Reimplemented from ryujin::InitialState< dim, Number, state_type, 1 >.
Definition at line 99 of file initial_state_flow_over_bump.h.