FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

limitedLinearLimiter< LimiterFunc > Class Template Reference

Class with limiter function which returns the limiter for the TVD limited linear differencing scheme based on r obtained from the LimiterFunc class. More...

#include <finiteVolume/limitedLinear.H>


Detailed Description

template<class LimiterFunc>
class Foam::limitedLinearLimiter< LimiterFunc >

Class with limiter function which returns the limiter for the TVD limited linear differencing scheme based on r obtained from the LimiterFunc class.

Used in conjunction with the template class LimitedScheme.

Source files

Definition at line 54 of file limitedLinear.H.

List of all members.

Public Member Functions

 limitedLinearLimiter (Istream &is)
scalar  limiter (const scalar cdWeight, const scalar faceFlux, const typename LimiterFunc::phiType &phiP, const typename LimiterFunc::phiType &phiN, const typename LimiterFunc::gradPhiType &gradcP, const typename LimiterFunc::gradPhiType &gradcN, const vector &d) const

Constructor & Destructor Documentation

limitedLinearLimiter ( Istream &   is  ) [inline]

Definition at line 63 of file limitedLinear.H.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, and Foam::max().


Member Function Documentation

scalar limiter ( const scalar   cdWeight,
const scalar   faceFlux,
const typename LimiterFunc::phiType &   phiP,
const typename LimiterFunc::phiType &   phiN,
const typename LimiterFunc::gradPhiType &   gradcP,
const typename LimiterFunc::gradPhiType &   gradcN,
const vector &   d  
) const [inline]

Definition at line 80 of file limitedLinear.H.

References Foam::max(), and Foam::min().


The documentation for this class was generated from the following file:
  • src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedLinear/limitedLinear.H