FreeFOAM The Cross-Platform CFD Toolkit
CentredFitScheme< Type, Polynomial, Stencil > Class Template Reference

Centred fit surface interpolation scheme which applies an explicit correction to linear. More...

#include <finiteVolume/CentredFitScheme.H>


Detailed Description

template<class Type, class Polynomial, class Stencil>
class Foam::CentredFitScheme< Type, Polynomial, Stencil >

Centred fit surface interpolation scheme which applies an explicit correction to linear.

Definition at line 49 of file CentredFitScheme.H.

+ Inheritance diagram for CentredFitScheme< Type, Polynomial, Stencil >:
+ Collaboration diagram for CentredFitScheme< Type, Polynomial, Stencil >:

List of all members.

Public Member Functions

 TypeName ("CentredFitScheme")
 Runtime type information.
 CentredFitScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
 CentredFitScheme (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
 Construct from mesh, faceFlux and Istream.
virtual bool corrected () const
 Return true if this scheme uses an explicit correction.
virtual tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > 
correction (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 Return the explicit correction to the face-interpolate.
- Public Member Functions inherited from linear< Type >
 TypeName ("linear")
 Runtime type information.
 linear (const fvMesh &mesh)
 Construct from mesh.
 linear (const fvMesh &mesh, Istream &)
 Construct from Istream.
 linear (const fvMesh &mesh, const surfaceScalarField &, Istream &)
 Construct from faceFlux and Istream.
tmp< surfaceScalarFieldweights (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the interpolation weighting factors.
- Public Member Functions inherited from surfaceInterpolationScheme< Type >
 TypeName ("surfaceInterpolationScheme")
 Runtime type information.
 declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, MeshFlux,(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 surfaceInterpolationScheme (const fvMesh &mesh)
 Construct from mesh.
virtual ~surfaceInterpolationScheme ()
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > 
interpolate (const GeometricField< Type, fvPatchField, volMesh > &) const
 Return the face-interpolate of the given cell field.
tmp< GeometricField< Type,
fvsPatchField, surfaceMesh > > 
interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const
 Return the face-interpolate of the given tmp cell field.
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count.
int count () const
 Return the reference count.
bool okToDelete () const
 Return true if the reference count is zero.
void resetRefCount ()
 Reset the reference count to zero.
void operator++ ()
 Increment the reference count.
void operator++ (int)
 Increment the reference count.
void operator-- ()
 Decrement the reference count.
void operator-- (int)
 Decrement the reference count.

Constructor & Destructor Documentation

CentredFitScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 82 of file CentredFitScheme.H.

CentredFitScheme ( const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream is 
)
inline

Construct from mesh, faceFlux and Istream.

Definition at line 92 of file CentredFitScheme.H.


Member Function Documentation

TypeName ( "CentredFitScheme< Type, Polynomial, Stencil >"  )

Runtime type information.

virtual bool corrected ( ) const
inlinevirtual

Return true if this scheme uses an explicit correction.

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 107 of file CentredFitScheme.H.

virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > correction ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const
inlinevirtual

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