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

Public Member Functions | Private Attributes | Friends
LaxFriedrichs< T > Class Template Reference

Local Lax-Friedrichs flux. More...

#include <advection.hh>

List of all members.

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 >

Detailed Description

template<typename T>
class LaxFriedrichs< T >

Local Lax-Friedrichs flux.

This formulation of the local Lax-Friedrichs flux relies on convex flux functions.

Author:
Adrian Burri, 2002

Definition at line 191 of file advection.hh.


Constructor & Destructor Documentation

template<typename T >
LaxFriedrichs< T >::LaxFriedrichs ( ) [inline]

Constructor. Creates an instance of the flux function.

Definition at line 195 of file advection.hh.


Member Function Documentation

template<typename T >
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.

Parameters:
u1Variable value of the first element
u2Variable value of the second element
normalNormal vector of the common face. The vector is pointing from the first element to the second element

Friends And Related Function Documentation

template<typename T >
friend class Advection< LaxFriedrichs > [friend]

Definition at line 193 of file advection.hh.


Member Data Documentation

template<typename T >
const T LaxFriedrichs< T >::fluxFct_ [private]

Definition at line 207 of file advection.hh.


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

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