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

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

Godunov flux. More...

#include <advection.hh>

List of all members.

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 >

Detailed Description

template<typename T>
class Godunov< T >

Godunov flux.

The Godunov flux relies on flux functions that are strictly convex.

Author:
Adrian Burri, 2002

Definition at line 239 of file advection.hh.


Constructor & Destructor Documentation

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

Constructor. Creates an instance of the flux function.

Definition at line 243 of file advection.hh.


Member Function Documentation

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

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< Godunov > [friend]

Definition at line 241 of file advection.hh.


Member Data Documentation

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

Definition at line 254 of file advection.hh.


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

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