Local Lax-Friedrichs flux. More...
#include <advection.hh>
Public Member Functions | |
| LaxFriedrichs () | |
| Constructor. Creates an instance of the flux function. | |
| Real | operator() (Real u1, Real u2, const concepts::Real3d &normal) const |
| Numerical flux function. | |
Private Attributes | |
| const T | fluxFct_ |
Friends | |
| class | Advection< LaxFriedrichs > |
Local Lax-Friedrichs flux.
This formulation of the local Lax-Friedrichs flux relies on convex flux functions.
Definition at line 191 of file advection.hh.
| LaxFriedrichs< T >::LaxFriedrichs | ( | ) | [inline] |
Constructor. Creates an instance of the flux function.
Definition at line 195 of file advection.hh.
| Real LaxFriedrichs< T >::operator() | ( | Real | u1, |
| Real | u2, | ||
| const concepts::Real3d & | normal | ||
| ) | const |
Numerical flux function.
Implementation of the numerical flux function according to Lax-Friedrichs. This version uses the entropy fix of the local Lax-Friedrichs scheme.
| u1 | Variable value of the first element |
| u2 | Variable value of the second element |
| normal | Normal vector of the common face. The vector is pointing from the first element to the second element |
friend class Advection< LaxFriedrichs > [friend] |
Definition at line 193 of file advection.hh.
const T LaxFriedrichs< T >::fluxFct_ [private] |
Definition at line 207 of file advection.hh.