ryujin 2.1.1 revision 4c829a125920046d39a74afd45eabb6cc28a8170
Public Member Functions | Static Public Attributes | List of all members
ryujin::ShallowWater::HyperbolicSystem Class Referencefinal

#include <source/shallow_water/hyperbolic_system.h>

Inheritance diagram for ryujin::ShallowWater::HyperbolicSystem:
Inheritance graph
Collaboration diagram for ryujin::ShallowWater::HyperbolicSystem:
Collaboration graph

Public Member Functions

 HyperbolicSystem (const std::string &subsection="/HyperbolicSystem")
template<int dim, typename Number >
auto view () const

Static Public Attributes

static const std::string problem_name = "Shallow water equations"

Runtime parameters, internal fields, methods, and friends

template<int dim, typename Number >
class HyperbolicSystemView

Detailed Description

Description of a dim dimensional hyperbolic conservation law modeling the shallow water equations.

We have a (1 + dim) dimensional state space \([h, \textbf m]\), where \(h\) denotes the water depth, abd \(\textbf m\) is the momentum.

Definition at line 40 of file hyperbolic_system.h.

Constructor & Destructor Documentation

◆ HyperbolicSystem()

ryujin::ShallowWater::HyperbolicSystem::HyperbolicSystem ( const std::string &  subsection = "/HyperbolicSystem")


Definition at line 637 of file hyperbolic_system.h.

Member Function Documentation

◆ view()

template<int dim, typename Number >
auto ryujin::ShallowWater::HyperbolicSystem::view ( ) const

Return a view on the Hyperbolic System for a given dimension dim and choice of number type Number (which can be a scalar float, or double, as well as a VectorizedArray holding packed scalars.

Definition at line 60 of file hyperbolic_system.h.

Friends And Related Function Documentation

◆ HyperbolicSystemView

template<int dim, typename Number >
friend class HyperbolicSystemView

Definition at line 79 of file hyperbolic_system.h.

Member Data Documentation

◆ problem_name

const std::string ryujin::ShallowWater::HyperbolicSystem::problem_name = "Shallow water equations"

The name of the hyperbolic system as a string.

Definition at line 46 of file hyperbolic_system.h.

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