OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

surfaceInterpolationScheme< Type > Class Template Reference

Abstract base class for surface interpolation schemes. More...

Inheritance diagram for surfaceInterpolationScheme< Type >:
Collaboration diagram for surfaceInterpolationScheme< Type >:

List of all members.


Public Member Functions

 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< surfaceScalarFieldweights (const GeometricField< Type, fvPatchField, volMesh > &) const =0
 Return the interpolation weighting factors for the given field.
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 > &) const
 Return the explicit correction to the face-interpolate.
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.

Static Public Member Functions

static tmp
< surfaceInterpolationScheme
< Type > > 
New (const fvMesh &mesh, Istream &schemeData)
 Return new tmp interpolation scheme.
static tmp
< surfaceInterpolationScheme
< Type > > 
New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
 Return new tmp interpolation scheme.
static tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > 
interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &)
 Return the face-interpolate of the given cell field.
static tmp< GeometricField
< Type, fvsPatchField,
surfaceMesh > > 
interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &)
 Return the face-interpolate of the given cell field.

Detailed Description

template<class Type>
class Foam::surfaceInterpolationScheme< Type >

Abstract base class for surface interpolation schemes.

Source files

Definition at line 51 of file surfaceInterpolationScheme.H.


Constructor & Destructor Documentation

surfaceInterpolationScheme ( const fvMesh mesh  )  [inline]

Construct from mesh.

Definition at line 107 of file surfaceInterpolationScheme.H.

~surfaceInterpolationScheme (  )  [inline, virtual]

Definition at line 144 of file surfaceInterpolationScheme.C.


Member Function Documentation

TypeName ( "surfaceInterpolationScheme< Type >"   ) 

Runtime type information.

declareRunTimeSelectionTable ( tmp  ,
surfaceInterpolationScheme< Type ,
Mesh  ,
(const fvMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData)   
)

declareRunTimeSelectionTable ( tmp  ,
surfaceInterpolationScheme< Type ,
MeshFlux  ,
(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)  ,
(mesh, faceFlux, schemeData)   
)

tmp< surfaceInterpolationScheme< Type > > New ( const fvMesh mesh,
Istream schemeData 
) [inline, static]

Return new tmp interpolation scheme.

Reimplemented in limitedSurfaceInterpolationScheme< Type >, and limitedSurfaceInterpolationScheme< Type >.

Definition at line 37 of file surfaceInterpolationScheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.

Here is the call graph for this function:

tmp< surfaceInterpolationScheme< Type > > New ( const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream schemeData 
) [inline, static]

const fvMesh& mesh (  )  const [inline]

Return mesh reference.

Definition at line 139 of file surfaceInterpolationScheme.H.

tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
const tmp< surfaceScalarField > &  tlambdas,
const tmp< surfaceScalarField > &  tys 
) [inline, static]

Return the face-interpolate of the given cell field.

with the given owner and neighbour weigting factors

with the given owner and neighbour weighting factors

Definition at line 157 of file surfaceInterpolationScheme.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), tmp< T >::clear(), IOobject::db(), fvSchemes::debug, DimensionedField< Type, GeoMesh >::dimensions(), Foam::endl(), forAll, Foam::Info, IOobject::instance(), GeometricField< Type, PatchField, GeoMesh >::internalField(), DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), fvMesh::neighbour(), fvMesh::owner(), Foam::mathematicalConstant::pi, sf(), UList< T >::size(), and y.

Referenced by surfaceInterpolationScheme< Type >::interpolate().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool corrected (  )  const [inline, virtual]

tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  vf  )  const [inline, virtual]

tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate ( const tmp< GeometricField< Type, fvPatchField, volMesh > > &  tvf  )  const [inline]

Return the face-interpolate of the given tmp cell field.

Return the face-interpolate of the given cell field.

with explicit correction

Definition at line 351 of file surfaceInterpolationScheme.C.

References Foam::interpolate().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd