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

Given cell centre values interpolates to vertices and uses these to do a Mean Value Coordinates interpolation. More...

#include <interpolationPointMVC.H>

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

Public Member Functions

 TypeName ("pointMVC")
 Runtime type information.
 interpolationPointMVC (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components.
Type interpolate (const pointMVCWeight &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.
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.

Protected Attributes

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_

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.

Detailed Description

template<class Type>
class Foam::interpolationPointMVC< Type >

Given cell centre values interpolates to vertices and uses these to do a Mean Value Coordinates interpolation.

Definition at line 44 of file interpolationPointMVC.H.

Constructor & Destructor Documentation

◆ interpolationPointMVC()

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

Construct from components.

Definition at line 27 of file interpolationPointMVC.C.

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

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

template<class Type>
TypeName ( "pointMVC" )

Runtime type information.

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

Here is the call graph for this function:

◆ interpolate() [1/2]

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

Interpolate field for the given cellPointWeight.

Definition at line 24 of file interpolationPointMVCI.H.

References pointMVCWeight::interpolate(), and psip_.

Referenced by interpolationPointMVC(), and TypeName().

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

◆ interpolate() [2/2]

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.

Implements interpolation< Type >.

Definition at line 34 of file interpolationPointMVCI.H.

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

Here is the call graph for this function:

Member Data Documentation

◆ psip_

template<class Type>
const GeometricField<Type, pointPatchField, pointMesh> psip_
protected

Interpolated volfield.

Definition at line 55 of file interpolationPointMVC.H.

Referenced by interpolate(), and interpolationPointMVC().


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