Public Member Functions | List of all members
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...

Inheritance diagram for interpolationCellPatchConstrained< Type >:
Inheritance graph
[legend]
Collaboration diagram for interpolationCellPatchConstrained< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("cellPatchConstrained")
 
 interpolationCellPatchConstrained (const GeometricField< Type, fvPatchField, volMesh > &psi)
 
Type interpolate (const vector &position, const label celli, const label facei=-1) const
 
Type interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 
- Public Member Functions inherited from interpolation< Type >
virtual const wordtype () const=0
 
 declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(psi))
 
 interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi)
 
virtual ~interpolation ()=default
 
const GeometricField< Type, fvPatchField, volMesh > & psi () const
 

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)
 
static autoPtr< interpolation< Type > > New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi)
 
- Protected Attributes inherited from interpolation< Type >
const GeometricField< Type, fvPatchField, volMesh > & psi_
 
const polyMeshpMesh_
 
const vectorFieldpMeshPoints_
 
const faceListpMeshFaces_
 
const vectorFieldpMeshFaceCentres_
 
const vectorFieldpMeshFaceAreas_
 

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 46 of file interpolationCellPatchConstrained.H.

Constructor & Destructor Documentation

◆ interpolationCellPatchConstrained()

Definition at line 28 of file interpolationCellPatchConstrained.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cellPatchConstrained"  )

◆ interpolate() [1/2]

Type interpolate ( const vector position,
const label  celli,
const label  facei = -1 
) const
virtual

Implements interpolation< Type >.

Definition at line 40 of file interpolationCellPatchConstrained.C.

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

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate() [2/2]

Type interpolate ( const barycentric coordinates,
const tetIndices tetIs,
const label  facei = -1 
) const
inlinevirtual

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