Public Member Functions | List of all members
CentredFitSnGradData< Polynomial > Class Template Reference

Data for centred fit snGrad schemes. More...

Inheritance diagram for CentredFitSnGradData< Polynomial >:
Inheritance graph
[legend]
Collaboration diagram for CentredFitSnGradData< Polynomial >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("CentredFitSnGradData")
 
 CentredFitSnGradData (const fvMesh &mesh, const extendedCentredCellToFaceStencil &stencil, const scalar linearLimitFactor, const scalar centralWeight)
 Construct from components. More...
 
virtual ~CentredFitSnGradData ()
 Destructor. More...
 
const List< scalarList > & coeffs () const
 Return reference to fit coefficients. More...
 
void calcFit (scalarList &coeffsi, const List< point > &, const scalar wLin, const scalar deltaCoeff, const label faci)
 Calculate the fit for the specified face and set the coefficients. More...
 
void calcFit ()
 

Detailed Description

template<class Polynomial>
class Foam::CentredFitSnGradData< Polynomial >

Data for centred fit snGrad schemes.

Source files

Definition at line 51 of file CentredFitSnGradData.H.

Constructor & Destructor Documentation

CentredFitSnGradData ( const fvMesh mesh,
const extendedCentredCellToFaceStencil stencil,
const scalar  linearLimitFactor,
const scalar  centralWeight 
)

Construct from components.

Definition at line 35 of file CentredFitSnGradData.C.

References CentredFitSnGradData< Polynomial >::calcFit(), Foam::endl(), and Foam::Info.

Here is the call graph for this function:

virtual ~CentredFitSnGradData ( )
inlinevirtual

Destructor.

Definition at line 85 of file CentredFitSnGradData.H.

Member Function Documentation

TypeName ( "CentredFitSnGradData< Polynomial >"  )
const List<scalarList>& coeffs ( ) const
inline

Return reference to fit coefficients.

Definition at line 92 of file CentredFitSnGradData.H.

References CentredFitSnGradData< Polynomial >::calcFit().

Referenced by CentredFitSnGradScheme< Type, Polynomial, Stencil >::correction().

Here is the call graph for this function:

Here is the caller graph for this function:

void calcFit ( scalarList coeffsi,
const List< point > &  C,
const scalar  wLin,
const scalar  deltaCoeff,
const label  faci 
)

Calculate the fit for the specified face and set the coefficients.

Definition at line 73 of file CentredFitSnGradData.C.

References Foam::cmptMag(), Foam::cmptMax(), Foam::endl(), forAll, Foam::mag(), mesh, Foam::nl, p, SVD::S(), List< T >::setSize(), List< T >::size(), Foam::sum(), SVD::VSinvUt(), WarningIn, Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Here is the call graph for this function:

void calcFit ( )

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