Loading...
Searching...
No Matches
interpolationCellPointFace< Type > Class Template Reference

Foam::interpolationCellPointFace. More...

#include <interpolationCellPointFace.H>

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

Public Member Functions

 TypeName ("cellPointFace")
 Runtime type information.
 interpolationCellPointFace (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 ()=default
 Destructor.
const GeometricField< Type, fvPatchField, volMesh > & psi () const noexcept
 Return the field to be interpolated.
virtual Type interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 Interpolate field to the given coordinates in the tetrahedron defined by the given indices.

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_

Detailed Description

template<class Type>
class Foam::interpolationCellPointFace< Type >

Foam::interpolationCellPointFace.

Definition at line 42 of file interpolationCellPointFace.H.

Constructor & Destructor Documentation

◆ interpolationCellPointFace()

template<class Type>
interpolationCellPointFace ( const GeometricField< Type, fvPatchField, volMesh > & psi)
explicit

Construct from components.

Definition at line 32 of file interpolationCellPointFace.C.

References interpolate(), interpolation< Type >::interpolation(), Foam::linearInterpolate(), mesh, Foam::name(), interpolation< Type >::New(), and interpolation< Type >::psi().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

template<class Type>
TypeName ( "cellPointFace" )

Runtime type information.

References interpolation< Type >::psi().

Here is the call graph for this function:

◆ interpolate()

template<class Type>
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 54 of file interpolationCellPointFace.C.

References Foam::endl(), InfoInFunction, Foam::mag(), Foam::max(), Foam::min(), n, Foam::normalised(), phi, interpolation< Type >::pMesh_, interpolation< Type >::pMeshFaceAreas_, interpolation< Type >::pMeshFaceCentres_, interpolation< Type >::psi_, UList< T >::size(), Foam::tab, and Foam::Zero.

Referenced by interpolationCellPointFace().

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

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