interpolationCellPointFace< Type > Class Template Reference

Foam::interpolationCellPointFace. More...

Inheritance diagram for interpolationCellPointFace< Type >:
[legend]
Collaboration diagram for interpolationCellPointFace< Type >:
[legend]

Public Member Functions

 TypeName ("cellPointFace")
 Runtime type information. More...
 
 interpolationCellPointFace (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
Type interpolate (const vector &position, const label celli, const label facei=-1) const
 Interpolate field to the given point in the given cell. More...
 
- Public Member Functions inherited from interpolation< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(psi))
 
 interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
virtual ~interpolation ()=default
 Destructor. More...
 
const GeometricField< Type, fvPatchField, volMesh > & psi () const
 Return the field to be interpolated. More...
 
virtual Type interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 Interpolate field to the given coordinates in the tetrahedron. More...
 

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. More...
 
static autoPtr< interpolation< Type > > New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi)
 Return a reference to the selected interpolation scheme. More...
 
- 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 48 of file interpolationCellPointFace.H.

Constructor & Destructor Documentation

◆ interpolationCellPointFace()

Construct from components.

Definition at line 40 of file interpolationCellPointFace.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cellPointFace"  )

Runtime type information.

◆ interpolate()

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 62 of file interpolationCellPointFace.C.

References Foam::constant::electromagnetic::e, Foam::endl(), InfoInFunction, Foam::mag(), Foam::max(), Foam::min(), n, Foam::normalised(), phi, Foam::tab, and Foam::Zero.

Here is the call graph for this function:

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