ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
Public Member Functions | Static Public Attributes | List of all members
ryujin::ScalarConservation::HyperbolicSystem Class Referencefinal

#include <source/scalar_conservation/hyperbolic_system.h>

Inheritance diagram for ryujin::ScalarConservation::HyperbolicSystem:
Inheritance graph
[legend]
Collaboration diagram for ryujin::ScalarConservation::HyperbolicSystem:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Attributes

static std::string problem_name = "Scalar conservation equation"
 

Runtime parameters, internal fields, methods, and friends

template<int dim, typename Number >
class HyperbolicSystemView
 

Detailed Description

A scalar conservation equation for a state \(u\) with a user specified flux \(f(u)\).

Definition at line 37 of file hyperbolic_system.h.

Constructor & Destructor Documentation

◆ HyperbolicSystem()

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

Constructor.

Definition at line 512 of file hyperbolic_system.h.

References ryujin::FluxLibrary::populate_flux_list(), and problem_name.

Member Function Documentation

◆ view()

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

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 57 of file hyperbolic_system.h.

Referenced by ryujin::ScalarConservation::Uniform< dim, Number >::compute().

Friends And Related Function Documentation

◆ HyperbolicSystemView

template<int dim, typename Number >
friend class HyperbolicSystemView
friend

Definition at line 74 of file hyperbolic_system.h.

Member Data Documentation

◆ problem_name

std::string ryujin::ScalarConservation::HyperbolicSystem::problem_name = "Scalar conservation equation"
inlinestatic

The name of the hyperbolic system as a string.

Definition at line 43 of file hyperbolic_system.h.

Referenced by HyperbolicSystem().


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