Burger's flux. More...
#include <advection.hh>

Public Member Functions | |
| BurgerFlux () | |
| Constructor. | |
| concepts::Real3d | deriv (const Real u) const |
| Returns the derivative's value of the Burger's flux. | |
| Real | deriv (const Real u, const concepts::Real3d &direction) const |
| Returns the derivative's value of the Burger's flux projected on the given direction. | |
| concepts::Real3d | flux (const Real u) const |
| Returns value of the Burger's flux. | |
| Real | flux (const Real u, const concepts::Real3d &direction) const |
| Returns the value of the flux projected on the given direction. | |
| bool | isConvex (const concepts::Real3d &normal) const |
| Checks convexity of the flux function of the related 1D problem. | |
| Real | uMin (const concepts::Real3d &normal) const |
| Returns zero for Burger's flux. | |
Private Attributes | |
| const concepts::Real3d | normal_ |
Burger's flux.
Definition at line 33 of file advection.hh.
| BurgerFlux::BurgerFlux | ( | ) | [inline] |
Constructor.
Definition at line 37 of file advection.hh.
| concepts::Real3d BurgerFlux::deriv | ( | const Real | u | ) | const [inline] |
Returns the derivative's value of the Burger's flux.
| u | Value where the derivative is evaluated |
Definition at line 55 of file advection.hh.
| Real BurgerFlux::deriv | ( | const Real | u, |
| const concepts::Real3d & | direction | ||
| ) | const [inline] |
Returns the derivative's value of the Burger's flux projected on the given direction.
| u | Value where the derivative is evaluated |
| direction | Direction |
Definition at line 63 of file advection.hh.
| Real BurgerFlux::flux | ( | const Real | u, |
| const concepts::Real3d & | direction | ||
| ) | const [inline] |
Returns the value of the flux projected on the given direction.
| u | Value where the flux is evaluated |
| direction | Direction |
Definition at line 49 of file advection.hh.
| concepts::Real3d BurgerFlux::flux | ( | const Real | u | ) | const [inline] |
Returns value of the Burger's flux.
| u | Value where the flux is evaluated |
Definition at line 42 of file advection.hh.
| bool BurgerFlux::isConvex | ( | const concepts::Real3d & | normal | ) | const [inline] |
Checks convexity of the flux function of the related 1D problem.
For various fluxes, a local Riemann problem in the direction of the face normal has to be solved. Depending on the normal, the Burger flux project ed on this normal can be either convex or concave, which has to be taken into account in numerical problems that assume convexity.
| normal | Normal vector of a face |
Definition at line 73 of file advection.hh.
| Real BurgerFlux::uMin | ( | const concepts::Real3d & | normal | ) | const [inline] |
Returns zero for Burger's flux.
Definition at line 77 of file advection.hh.
const concepts::Real3d BurgerFlux::normal_ [private] |
Definition at line 80 of file advection.hh.