ryujin 2.1.1 revision 15c5f3ea3ef91eaf08db04f6f4c18a1823a6f822
Public Member Functions | List of all members
ryujin::ShallowWater::SolitaryWave< dim, Number, state_type > Class Template Reference

#include <source/shallow_water/initial_state_solitary_wave.h>

Inheritance diagram for ryujin::ShallowWater::SolitaryWave< dim, Number, state_type >:
Inheritance graph
[legend]
Collaboration diagram for ryujin::ShallowWater::SolitaryWave< dim, Number, state_type >:
Collaboration graph
[legend]

Public Member Functions

 SolitaryWave (const HyperbolicSystem &hyperbolic_system, const std::string subsec)
 
state_type compute (const dealii::Point< dim > &point, Number t) final
 
- Public Member Functions inherited from ryujin::InitialState< dim, Number, state_type, 1 >
 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

- Public Types inherited from ryujin::InitialState< dim, Number, state_type, 1 >
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
 

Detailed Description

template<int dim, typename Number, typename state_type>
class ryujin::ShallowWater::SolitaryWave< dim, Number, state_type >

Solitary wave over flat bottom. See TODO

Definition at line 21 of file initial_state_solitary_wave.h.

Constructor & Destructor Documentation

◆ SolitaryWave()

template<int dim, typename Number , typename state_type >
ryujin::ShallowWater::SolitaryWave< dim, Number, state_type >::SolitaryWave ( const HyperbolicSystem hyperbolic_system,
const std::string  subsec 
)
inline

Definition at line 24 of file initial_state_solitary_wave.h.

Member Function Documentation

◆ compute()

template<int dim, typename Number , typename state_type >
state_type ryujin::ShallowWater::SolitaryWave< dim, Number, state_type >::compute ( const dealii::Point< dim > &  point,
Number  t 
)
inlinefinal

Definition at line 37 of file initial_state_solitary_wave.h.

References ryujin::pow().


The documentation for this class was generated from the following file: