38#ifndef PrimitivePatchInterpolation_H
39#define PrimitivePatchInterpolation_H
58class PrimitivePatchInterpolation
69 mutable std::unique_ptr<scalarListList> faceToPointWeightsPtr_;
72 mutable std::unique_ptr<scalarList> faceToEdgeWeightsPtr_;
78 PrimitivePatchInterpolation
80 const PrimitivePatchInterpolation&
84 void operator=(
const PrimitivePatchInterpolation&) =
delete;
91 void makeFaceToPointWeights()
const;
97 void makeFaceToEdgeWeights()
const;
108 PrimitivePatchInterpolation(
const Patch&
p);
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
bool movePoints()
Do what is necessary if the mesh has moved.
~PrimitivePatchInterpolation()=default
Destructor.
PrimitivePatchInterpolation(const Patch &p)
Construct from PrimitivePatch.
tmp< Field< Type > > faceToPointInterpolate(const Field< Type > &ff) const
Interpolate from faces to points.
tmp< Field< Type > > pointToFaceInterpolate(const tmp< Field< Type > > &tpf) const
tmp< Field< Type > > faceToEdgeInterpolate(const Field< Type > &ff) const
Interpolate from faces to edges.
tmp< Field< Type > > faceToEdgeInterpolate(const tmp< Field< Type > > &tff) const
tmp< Field< Type > > pointToFaceInterpolate(const Field< Type > &pf) const
Interpolate from points to faces.
tmp< Field< Type > > faceToPointInterpolate(const tmp< Field< Type > > &tff) const
A class for managing temporary objects.
List< scalarList > scalarListList
List of scalarList.
List< scalar > scalarList
List of scalar.