Programmierpraktikum NPDGL I
Öffentliche Methoden

LaxFriedrichsFlux< FluxFunction > Template-Klassenreferenz

class implementing a Lax Friedrichs flux Mehr ...

#include <finite_difference.hh>

Klassendiagramm für LaxFriedrichsFlux< FluxFunction >:
Inheritance graph
[Legende]
Zusammengehörigkeiten von LaxFriedrichsFlux< FluxFunction >:
Collaboration graph
[Legende]

Aufstellung aller Elemente

Öffentliche Methoden

 LaxFriedrichsFlux (const FluxFunction &f, double lambda)
 constructor
void apply (const double u_left, const double u_right, double &g) const
 this function actually evaluates the flux

Ausführliche Beschreibung

template<class FluxFunction>
class LaxFriedrichsFlux< FluxFunction >

class implementing a Lax Friedrichs flux

This implements the flux described in Lax-Friedrichs-Fluss.

Beispiele:

test_spaceoperator.cc.


Beschreibung der Konstruktoren und Destruktoren

template<class FluxFunction>
LaxFriedrichsFlux< FluxFunction >::LaxFriedrichsFlux ( const FluxFunction &  f,
double  lambda 
) [inline]

constructor

Parameter:
fthe function for which the flux is created
lambdathe constant \( \lambda \) in the flux formula

Dokumentation der Elementfunktionen

template<class FluxFunction>
void LaxFriedrichsFlux< FluxFunction >::apply ( const double  u_left,
const double  u_right,
double &  g 
) const [inline, virtual]

this function actually evaluates the flux

Parameter:
u_leftfirst argument of the flux \( u \)
u_rightsecond argument of the flux \( v \)
gflux evaluation \( g(u,v) \)

Implementiert NumericalFluxIf.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: