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 pointMesh & | pMesh () const |
const fvMesh & | vMesh () const |
Definition at line 58 of file pointVolInterpolation.H.
pointVolInterpolation | ( | const pointMesh & | pm, |
const fvMesh & | vm | ||
) |
Constructor given pointMesh and fvMesh.
Definition at line 164 of file pointVolInterpolation.C.
Definition at line 178 of file pointVolInterpolation.C.
|
inlineprotected |
Definition at line 101 of file pointVolInterpolation.H.
|
inlineprotected |
Definition at line 106 of file pointVolInterpolation.H.
ClassName | ( | "pointVolInterpolation" | ) |
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.
void updateTopology | ( | ) |
Update mesh topology using the morph engine.
Definition at line 202 of file pointVolInterpolation.C.
bool movePoints | ( | ) |
Correct weighting factors for moving mesh.
Definition at line 210 of file pointVolInterpolation.C.
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 33 of file pointVolInterpolate.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), DebugInFunction, Foam::endl(), forAll, DimensionedField< Type, GeoMesh >::mesh(), and Foam::constant::mathematical::pi().
Referenced by sensitivityVolBSplinesFI::assembleSensitivities().
tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate | ( | const GeometricField< Type, pointPatchField, pointMesh > & | ) | const |
Interpolate pointField returning volField.
using inverse distance weighting
tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate | ( | const tmp< GeometricField< Type, pointPatchField, pointMesh >> & | ) | const |
Interpolate tmp<pointField> returning volField.
using inverse distance weighting
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > interpolate | ( | const GeometricField< Type, pointPatchField, pointMesh > & | pf | ) | const |
Definition at line 89 of file pointVolInterpolate.C.
References IOobject::db(), DimensionedField< Type, GeoMesh >::dimensions(), IOobject::instance(), Foam::fac::interpolate(), IOobject::name(), and tmp< T >::ref().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > interpolate | ( | const tmp< GeometricField< Type, pointPatchField, pointMesh >> & | tpf | ) | const |
Definition at line 119 of file pointVolInterpolate.C.
References Foam::fac::interpolate().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.