Public Member Functions | Private Attributes
limitedCubicLimiter< LimiterFunc > Class Template Reference

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

Inheritance diagram for limitedCubicLimiter< LimiterFunc >:
Inheritance graph
[legend]
Collaboration diagram for limitedCubicLimiter< LimiterFunc >:
Collaboration graph
[legend]

Public Member Functions

 limitedCubicLimiter (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
 

Private Attributes

scalar k_
 
scalar twoByk_
 

Detailed Description

template<class LimiterFunc>
class Foam::limitedCubicLimiter< LimiterFunc >

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

Used in conjunction with the template class LimitedScheme.

Source files

Definition at line 53 of file limitedCubic.H.

Constructor & Destructor Documentation

◆ limitedCubicLimiter()

limitedCubicLimiter ( Istream is)
inline

Member Function Documentation

◆ limiter()

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 79 of file limitedCubic.H.

References Foam::max(), Foam::min(), Foam::stabilise(), and limitedCubicLimiter< LimiterFunc >::twoByk_.

Here is the call graph for this function:

Field Documentation

◆ k_

scalar k_
private

◆ twoByk_

scalar twoByk_
private

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