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

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

Upwind flux. More...

#include <advection.hh>

List of all members.

Public Member Functions

Real operator() (Real u1, Real u2, const concepts::Real3d &normal) const
 Numerical flux function.
 Upwind ()
 Constructor. Creates an instance of the flux function.

Private Attributes

const T fluxFct_

Friends

class Advection< Upwind >

Detailed Description

template<typename T>
class Upwind< T >

Upwind flux.

Author:
Adrian Burri, 2002

Definition at line 215 of file advection.hh.


Constructor & Destructor Documentation

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

Constructor. Creates an instance of the flux function.

Definition at line 219 of file advection.hh.


Member Function Documentation

template<typename T >
Real Upwind< T >::operator() ( Real  u1,
Real  u2,
const concepts::Real3d normal 
) const

Numerical flux function.

Implementation of the numerical flux function according to the Upwind 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< Upwind > [friend]

Definition at line 216 of file advection.hh.


Member Data Documentation

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

Definition at line 230 of file advection.hh.


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

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