interpolationPointMVC< Type > Class Template Reference

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

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

Public Member Functions

 TypeName ("pointMVC")
 Runtime type information. More...
 
 interpolationPointMVC (const GeometricField< Type, fvPatchField, volMesh > &psi)
 Construct from components. More...
 
Type interpolate (const pointMVCWeight &cpw) const
 Interpolate field for the given cellPointWeight. 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 fieldInterpolation< Type, interpolationPointMVC< Type > >
virtual tmp< Field< Type > > interpolate (const vectorField &position, const labelField &celli, const labelField &facei=NullObjectRef< labelField >()) const
 Interpolate field to the given points in the given cells. More...
 
virtual tmp< Field< Type > > interpolate (const Field< barycentric > &coordinates, const labelField &celli, const labelField &tetFacei, const labelField &tetPti, const labelField &facei=NullObjectRef< labelField >()) const
 Interpolate field to the given coordinates in the given tetrahedra. 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 ()
 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...
 

Protected Attributes

const GeometricField< Type, pointPatchField, pointMeshpsip_
 Interpolated volfield. More...
 
- Protected Attributes inherited from interpolation< Type >
const GeometricField< Type, fvPatchField, volMesh > & psi_
 The vol field to interpolate. More...
 
const polyMeshmesh_
 Reference to the mesh. 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...
 

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 48 of file interpolationPointMVC.H.

Constructor & Destructor Documentation

◆ interpolationPointMVC()

Construct from components.

Definition at line 33 of file interpolationPointMVC.C.

Member Function Documentation

◆ TypeName()

TypeName ( "pointMVC"  )

Runtime type information.

◆ interpolate() [1/2]

Type interpolate ( const pointMVCWeight cpw) const
inline

Interpolate field for the given cellPointWeight.

Definition at line 30 of file interpolationPointMVCI.H.

References pointMVCWeight::interpolate().

Here is the call graph for this function:

◆ interpolate() [2/2]

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 40 of file interpolationPointMVCI.H.

References Foam::fvc::interpolate().

Here is the call graph for this function:

Member Data Documentation

◆ psip_

const GeometricField<Type, pointPatchField, pointMesh> psip_
protected

Interpolated volfield.

Definition at line 57 of file interpolationPointMVC.H.


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