#include <advection.hh>
Public Member Functions | |
| Godunov () | |
| 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< Godunov > |
Godunov flux.
The Godunov flux relies on flux functions that are strictly convex.
Definition at line 239 of file advection.hh.
Constructor. Creates an instance of the flux function.
Definition at line 243 of file advection.hh.
| Real Godunov< T >::operator() | ( | Real | u1, |
| Real | u2, | ||
| const concepts::Real3d & | normal | ||
| ) | const |
Numerical flux function.
Implementation of the numerical flux function according to the Godunov 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 |
Definition at line 241 of file advection.hh.
Definition at line 254 of file advection.hh.