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

Same as interpolationCellPoint, but if interpolating a wall face, uses cell centre value instead. More...

#include <interpolationCellPointWallModified.H>

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

Public Member Functions

 TypeName ("cellPointWallModified")
 Runtime type information.
 interpolationCellPointWallModified (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components.
Type interpolate (const cellPointWeight &cpw) const
 Interpolate field for the given cellPointWeight.
Type interpolate (const vector &position, const label celli, const label facei=-1) const
 Interpolate field to the given point in the given cell.
Type interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 Interpolate field to the given coordinates in the tetrahedron.
Public Member Functions inherited from interpolationCellPoint< Type >
 TypeName ("cellPoint")
 Runtime type information.
 interpolationCellPoint (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components.
Type interpolate (const cellPointWeight &cpw) const
 Interpolate field for the given cellPointWeight.
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.

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 interpolationCellPoint< Type >
const GeometricField< Type, pointPatchField, pointMeshpsip_
 Interpolated volfield.
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::interpolationCellPointWallModified< Type >

Same as interpolationCellPoint, but if interpolating a wall face, uses cell centre value instead.

Definition at line 44 of file interpolationCellPointWallModified.H.

Constructor & Destructor Documentation

◆ interpolationCellPointWallModified()

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

Construct from components.

Definition at line 26 of file interpolationCellPointWallModified.C.

References interpolationCellPoint< Type >::interpolationCellPoint(), and interpolation< Type >::psi().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

template<class Type>
TypeName ( "cellPointWallModified" )

Runtime type information.

References coordinates(), and interpolation< Type >::psi().

Here is the call graph for this function:

◆ interpolate() [1/3]

template<class Type>
Type interpolate ( const cellPointWeight & cpw) const
inline

Interpolate field for the given cellPointWeight.

Definition at line 25 of file interpolationCellPointWallModifiedI.H.

References interpolationCellPoint< Type >::interpolate().

Here is the call graph for this function:

◆ interpolate() [2/3]

template<class Type>
Type interpolate ( const vector & position,
const label celli,
const label facei = -1 ) const
inlinevirtual

Interpolate field to the given point in the given cell.

Reimplemented from interpolationCellPoint< Type >.

Definition at line 35 of file interpolationCellPointWallModifiedI.H.

References interpolationCellPoint< Type >::interpolate(), and interpolation< Type >::pMesh_.

Here is the call graph for this function:

◆ interpolate() [3/3]

template<class Type>
Type interpolate ( const barycentric & coordinates,
const tetIndices & tetIs,
const label facei = -1 ) const
inlinevirtual

Interpolate field to the given coordinates in the tetrahedron.

defined by the given indices.

Reimplemented from interpolationCellPoint< Type >.

Definition at line 56 of file interpolationCellPointWallModifiedI.H.

References tetIndices::cell(), coordinates(), Foam::exit(), tetIndices::face(), Foam::FatalError, FatalErrorInFunction, interpolationCellPoint< Type >::interpolate(), cellPointWeightWallModified::onWall(), interpolation< Type >::pMesh_, and interpolation< Type >::psi_.

Here is the call graph for this function:

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