OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

interpolation Class Template Reference

Inheritance diagram for interpolation:

Inheritance graph
[legend]
Collaboration diagram for interpolation:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Type>
class Foam::interpolation< Type >

Definition at line 60 of file interpolation.H.


Public Member Functions

virtual const word & type () const=0
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const volPointInterpolation &pInterp, const GeometricField< Type, fvPatchField, volMesh > &psi),(pInterp, psi))
 interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components.
virtual ~interpolation ()
const GeometricField< Type,
fvPatchField, volMesh > & 
psi () const
 Return the field to be interpolated.
virtual Type interpolate (const vector &position, const label nCell, const label facei=-1) const =0
 Interpolate field to the given point in the given cell.

Static Public Member Functions

static autoPtr< interpolation<
Type > > 
New (const word &interpolationType, const volPointInterpolation &pInterp, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the specified interpolation scheme.
static autoPtr< interpolation<
Type > > 
New (const dictionary &interpolationSchemes, const volPointInterpolation &pInterp, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the selected interpolation scheme.

Protected Attributes

const GeometricField< Type,
fvPatchField, volMesh > & 
psi_
const polyMesh & pMesh_
const vectorField & pMeshPoints_
const faceList & pMeshFaces_
const vectorField & pMeshFaceCentres_
const vectorField & pMeshFaceAreas_

Constructor & Destructor Documentation

interpolation ( const GeometricField< Type, fvPatchField, volMesh > &  psi  ) 

Construct from components.

virtual ~interpolation (  )  [inline, virtual]

Definition at line 127 of file interpolation.H.


Member Function Documentation

virtual const word& type (  )  const [pure virtual]

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
interpolation< Type >  ,
dictionary  ,
(const volPointInterpolation &pInterp, const GeometricField< Type, fvPatchField, volMesh > &psi)  ,
(pInterp, psi)   
)

static autoPtr<interpolation<Type> > New ( const word &  interpolationType,
const volPointInterpolation &  pInterp,
const GeometricField< Type, fvPatchField, volMesh > &  psi 
) [static]

Return a reference to the specified interpolation scheme.

static autoPtr<interpolation<Type> > New ( const dictionary &  interpolationSchemes,
const volPointInterpolation &  pInterp,
const GeometricField< Type, fvPatchField, volMesh > &  psi 
) [static]

Return a reference to the selected interpolation scheme.

const GeometricField<Type, fvPatchField, volMesh>& psi (  )  const [inline]

Return the field to be interpolated.

Definition at line 134 of file interpolation.H.

virtual Type interpolate ( const vector &  position,
const label  nCell,
const label  facei = -1 
) const [pure virtual]


Member Data Documentation

const GeometricField<Type, fvPatchField, volMesh>& psi_ [protected]

const polyMesh& pMesh_ [protected]

Definition at line 69 of file interpolation.H.

const vectorField& pMeshPoints_ [protected]

Definition at line 70 of file interpolation.H.

const faceList& pMeshFaces_ [protected]

Definition at line 71 of file interpolation.H.

const vectorField& pMeshFaceCentres_ [protected]

Definition at line 72 of file interpolation.H.

const vectorField& pMeshFaceAreas_ [protected]

Definition at line 73 of file interpolation.H.


The documentation for this class was generated from the following file:
  • src/finiteVolume/interpolation/interpolation/interpolation/interpolation.H
Copyright © 2000-2007 OpenCFD Ltd