Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
BurgerFlux Class Reference

Burger's flux. More...

#include <advection.hh>

Collaboration diagram for BurgerFlux:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

Burger's flux.

Author:
Adrian Burri, 2002

Definition at line 33 of file advection.hh.


Constructor & Destructor Documentation

BurgerFlux::BurgerFlux ( ) [inline]

Constructor.

Definition at line 37 of file advection.hh.


Member Function Documentation

concepts::Real3d BurgerFlux::deriv ( const Real  u) const [inline]

Returns the derivative's value of the Burger's flux.

Parameters:
uValue 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.

Parameters:
uValue where the derivative is evaluated
directionDirection

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.

Parameters:
uValue where the flux is evaluated
directionDirection

Definition at line 49 of file advection.hh.

concepts::Real3d BurgerFlux::flux ( const Real  u) const [inline]

Returns value of the Burger's flux.

Parameters:
uValue 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.

Parameters:
normalNormal 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.


Member Data Documentation

Definition at line 80 of file advection.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)