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

UpwindFitData< Polynomial > Class Template Reference

Data for the quadratic fit correction interpolation scheme to be used with upwind biased stencil.

  • linearCorrection = true : fit calculated for corrected linear scheme
  • linearCorrection = false : fit calculated for corrected upwind scheme.
More...

#include <finiteVolume/UpwindFitData.H>


Detailed Description

template<class Polynomial>
class Foam::UpwindFitData< Polynomial >

Data for the quadratic fit correction interpolation scheme to be used with upwind biased stencil.

  • linearCorrection = true : fit calculated for corrected linear scheme
  • linearCorrection = false : fit calculated for corrected upwind scheme.

Source files

Definition at line 55 of file UpwindFitData.H.

Inheritance diagram for UpwindFitData< Polynomial >:
Collaboration diagram for UpwindFitData< Polynomial >:

List of all members.

Public Member Functions

 TypeName ("UpwindFitData")
 UpwindFitData (const fvMesh &mesh, const extendedUpwindCellToFaceStencil &stencil, const bool linearCorrection, const scalar linearLimitFactor, const scalar centralWeight)
 Construct from components.
virtual  ~UpwindFitData ()
 Destructor.
const List< scalarList > &  owncoeffs () const
 Return reference to owner fit coefficients.
const List< scalarList > &  neicoeffs () const
 Return reference to neighbour fit coefficients.

Constructor & Destructor Documentation

UpwindFitData ( const fvMesh &   mesh,
const extendedUpwindCellToFaceStencil &   stencil,
const bool   linearCorrection,
const scalar   linearLimitFactor,
const scalar   centralWeight  
)

Construct from components.

Definition at line 37 of file UpwindFitData.C.

References Foam::endl(), and Foam::Info.

virtual ~UpwindFitData (  ) [inline, virtual]

Destructor.

Definition at line 101 of file UpwindFitData.H.


Member Function Documentation

TypeName ( "UpwindFitData< Polynomial >"    )
const List<scalarList>& owncoeffs (  ) const [inline]

Return reference to owner fit coefficients.

Definition at line 108 of file UpwindFitData.H.

Referenced by UpwindFitScheme< Type, Polynomial, Stencil >::correction(), and PureUpwindFitScheme< Type, Polynomial, Stencil >::correction().

const List<scalarList>& neicoeffs (  ) const [inline]

Return reference to neighbour fit coefficients.

Definition at line 114 of file UpwindFitData.H.

Referenced by UpwindFitScheme< Type, Polynomial, Stencil >::correction(), and PureUpwindFitScheme< Type, Polynomial, Stencil >::correction().


The documentation for this class was generated from the following files:
  • src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitData.H
  • src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitData.C