pointVolInterpolation Class Reference

Public Member Functions

 ClassName ("pointVolInterpolation")
 
 pointVolInterpolation (const pointMesh &, const fvMesh &)
 Constructor given pointMesh and fvMesh. More...
 
 ~pointVolInterpolation ()
 
const FieldField< Field, scalar > & volWeights () const
 Return reference to weights arrays. More...
 
void updateTopology ()
 Update mesh topology using the morph engine. More...
 
bool movePoints ()
 Correct weighting factors for moving mesh. More...
 
template<class Type >
void interpolate (const GeometricField< Type, pointPatchField, pointMesh > &, GeometricField< Type, fvPatchField, volMesh > &) const
 Interpolate from pointField to volField. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate (const GeometricField< Type, pointPatchField, pointMesh > &) const
 Interpolate pointField returning volField. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate (const tmp< GeometricField< Type, pointPatchField, pointMesh >> &) const
 Interpolate tmp<pointField> returning volField. More...
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > interpolate (const GeometricField< Type, pointPatchField, pointMesh > &pf) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > interpolate (const tmp< GeometricField< Type, pointPatchField, pointMesh >> &tpf) const
 

Protected Member Functions

const pointMeshpMesh () const
 
const fvMeshvMesh () const
 

Detailed Description

Constructor & Destructor Documentation

◆ pointVolInterpolation()

pointVolInterpolation ( const pointMesh pm,
const fvMesh vm 
)

Constructor given pointMesh and fvMesh.

Definition at line 164 of file pointVolInterpolation.C.

◆ ~pointVolInterpolation()

Definition at line 178 of file pointVolInterpolation.C.

Member Function Documentation

◆ pMesh()

const pointMesh& pMesh ( ) const
inlineprotected

Definition at line 101 of file pointVolInterpolation.H.

◆ vMesh()

const fvMesh& vMesh ( ) const
inlineprotected

Definition at line 106 of file pointVolInterpolation.H.

◆ ClassName()

ClassName ( "pointVolInterpolation"  )

◆ volWeights()

const Foam::FieldField< Foam::Field, Foam::scalar > & volWeights ( ) const

Return reference to weights arrays.

This also constructs the weighting factors if necessary.

Definition at line 189 of file pointVolInterpolation.C.

◆ updateTopology()

void updateTopology ( )

Update mesh topology using the morph engine.

Definition at line 202 of file pointVolInterpolation.C.

◆ movePoints()

bool movePoints ( )

Correct weighting factors for moving mesh.

Definition at line 210 of file pointVolInterpolation.C.

◆ interpolate() [1/5]

void interpolate ( const GeometricField< Type, pointPatchField, pointMesh > &  pf,
GeometricField< Type, fvPatchField, volMesh > &  vf 
) const

◆ interpolate() [2/5]

tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate ( const GeometricField< Type, pointPatchField, pointMesh > &  ) const

Interpolate pointField returning volField.

using inverse distance weighting

◆ interpolate() [3/5]

tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate ( const tmp< GeometricField< Type, pointPatchField, pointMesh >> &  ) const

Interpolate tmp<pointField> returning volField.

using inverse distance weighting

◆ interpolate() [4/5]

◆ interpolate() [5/5]

Definition at line 119 of file pointVolInterpolate.C.

References Foam::fac::interpolate().

Here is the call graph for this function:

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