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 171 of file pointVolInterpolation.C.

◆ ~pointVolInterpolation()

Definition at line 185 of file pointVolInterpolation.C.

Member Function Documentation

◆ pMesh()

const pointMesh& pMesh ( ) const
inlineprotected

Definition at line 93 of file pointVolInterpolation.H.

◆ vMesh()

const fvMesh& vMesh ( ) const
inlineprotected

Definition at line 98 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 196 of file pointVolInterpolation.C.

◆ updateTopology()

void updateTopology ( )

Update mesh topology using the morph engine.

Definition at line 209 of file pointVolInterpolation.C.

◆ movePoints()

bool movePoints ( )

Correct weighting factors for moving mesh.

Definition at line 217 of file pointVolInterpolation.C.

◆ interpolate() [1/5]

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

Interpolate from pointField to volField.

using inverse distance weighting

Definition at line 40 of file pointVolInterpolate.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), DebugInFunction, Foam::endl(), forAll, and Foam::constant::mathematical::pi().

Referenced by sensitivityVolBSplinesFI::assembleSensitivities().

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

◆ 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]

Definition at line 96 of file pointVolInterpolate.C.

References Foam::fac::interpolate(), and tmp< T >::ref().

Here is the call graph for this function:

◆ interpolate() [5/5]

Definition at line 126 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: