40#ifndef PatchToPatchInterpolation_H
41#define PatchToPatchInterpolation_H
67template<
class FromPatch,
class ToPatch>
70 public PatchToPatchInterpolationName
75 const FromPatch& fromPatch_;
78 const ToPatch& toPatch_;
91 static scalar projectionTol_;
126 void calcPointAddressing()
const;
129 void calcFaceAddressing()
const;
151 static const scalar directHitTol;
161 const FromPatch& fromPatch,
162 const ToPatch& toPatch,
183 scalar oldTol = projectionTol_;
A field of fields is a PtrList of fields with reference counting.
Interpolation class dealing with transfer of data between two primitivePatches.
bool movePoints()
Correct weighting factors for moving mesh.
intersection::direction projectionDir() const
Return direction projection to use in projection.
static scalar setProjectionTol(const scalar t)
Set the projection tolerance, returning the previous value.
intersection::algorithm projectionAlgo() const
Return ype of intersection algorithm to use in projection.
const scalarField & pointDistanceToIntersection() const
Return distance to intersection for patch points.
const scalarField & faceDistanceToIntersection() const
Return distance to intersection for patch face centres.
tmp< Field< Type > > pointInterpolate(const Field< Type > &pf) const
Interpolate point field.
tmp< Field< Type > > faceInterpolate(const Field< Type > &pf) const
Interpolate face field.
~PatchToPatchInterpolation()
Destructor.
A class for managing temporary objects.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
#define TemplateName(TemplateNameString)
Add typeName information from argument TypeNameString to a.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)