FreeFOAM The Cross-Platform CFD Toolkit
interpolationCellPatchConstrained< Type > Class Template Reference

Uses the cell value for any point in the cell apart from a boundary face where it uses the boundary value directly. Note: will not work on an empty patch. More...

#include <finiteVolume/interpolationCellPatchConstrained.H>


Detailed Description

template<class Type>
class Foam::interpolationCellPatchConstrained< Type >

Uses the cell value for any point in the cell apart from a boundary face where it uses the boundary value directly. Note: will not work on an empty patch.

Definition at line 51 of file interpolationCellPatchConstrained.H.

+ Inheritance diagram for interpolationCellPatchConstrained< Type >:
+ Collaboration diagram for interpolationCellPatchConstrained< Type >:

List of all members.

Public Member Functions

 TypeName ("cellPatchConstrained")
 Runtime type information.
 interpolationCellPatchConstrained (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components.
Type interpolate (const vector &position, const label cellI, const label faceI=-1) const
 Interpolate field to the given point in the given cell.
- Public Member Functions inherited from interpolation< Type >
virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(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.

Additional Inherited Members

- Static Public Member Functions inherited from interpolation< Type >
static autoPtr< interpolation
< Type > > 
New (const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the specified interpolation scheme.
static autoPtr< interpolation
< Type > > 
New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the selected interpolation scheme.
- Protected Attributes inherited from interpolation< Type >
const GeometricField< Type,
fvPatchField, volMesh > & 
psi_
const polyMeshpMesh_
const vectorFieldpMeshPoints_
const faceListpMeshFaces_
const vectorFieldpMeshFaceCentres_
const vectorFieldpMeshFaceAreas_

Constructor & Destructor Documentation

Construct from components.

Definition at line 38 of file interpolationCellPatchConstrained.C.


Member Function Documentation

TypeName ( "cellPatchConstrained"  )

Runtime type information.

Type interpolate ( const vector position,
const label  cellI,
const label  faceI = -1 
) const
virtual

Interpolate field to the given point in the given cell.

Implements interpolation< Type >.

Definition at line 50 of file interpolationCellPatchConstrained.C.

References polyMesh::boundaryMesh(), polyBoundaryMesh::mesh(), and polyBoundaryMesh::whichPatch().


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