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

Upwind biased fit surface interpolation scheme that applies an explicit correction to linear. More...

#include <finiteVolume/UpwindFitScheme.H>


Detailed Description

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

Upwind biased fit surface interpolation scheme that applies an explicit correction to linear.

Definition at line 49 of file UpwindFitScheme.H.

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

List of all members.

Public Member Functions

 TypeName ("UpwindFitScheme")
 Runtime type information.
 UpwindFitScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
 UpwindFitScheme (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

UpwindFitScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

The name of the flux field is read from the Istream and looked-up from the mesh objectRegistry

Definition at line 87 of file UpwindFitScheme.H.

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

Construct from mesh, faceFlux and Istream.

Definition at line 98 of file UpwindFitScheme.H.


Member Function Documentation

TypeName ( "UpwindFitScheme< 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 114 of file UpwindFitScheme.H.


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