39#ifndef Foam_pointVolInterpolation_H
40#define Foam_pointVolInterpolation_H
73 mutable std::unique_ptr<FieldField<Field, scalar>> volWeightsPtr_;
85 void makeWeights()
const;
88 void clearAddressing()
const;
91 void clearGeom()
const;
98 const fvMesh&
vMesh()
const noexcept {
return fvMesh_; }
A field of fields is a PtrList of fields with reference counting.
Generic GeometricField class.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Mesh data needed to do the Finite Volume discretisation.
Mesh representing a set of points created from polyMesh.
bool movePoints()
Correct weighting factors for moving mesh.
const FieldField< Field, scalar > & volWeights() const
Return reference to weights arrays.
ClassName("pointVolInterpolation")
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, pointPatchField, pointMesh > &) const
Interpolate pointField returning volField.
pointVolInterpolation(const pointMesh &, const fvMesh &)
Construct given pointMesh and fvMesh.
const fvMesh & vMesh() const noexcept
const pointMesh & pMesh() const noexcept
~pointVolInterpolation()
Destructor.
void interpolate(const GeometricField< Type, pointPatchField, pointMesh > &, GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate from pointField to volField.
void updateTopology()
Update mesh topology using the morph engine.
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const tmp< GeometricField< Type, pointPatchField, pointMesh > > &) const
Interpolate tmp<pointField> returning volField.
A class for managing temporary objects.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Forwards and collection of common point field types.
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
Forwards and collection of common volume field types.