Go to the documentation of this file.
40 #ifndef PatchToPatchInterpolation_H
41 #define PatchToPatchInterpolation_H
67 template<
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.
A class for managing temporary objects.
tmp< Field< Type > > faceInterpolate(const Field< Type > &pf) const
Interpolate face field.
~PatchToPatchInterpolation()
Destructor.
intersection::algorithm projectionAlgo() const
Return ype of intersection algorithm to use in projection.
const scalarField & faceDistanceToIntersection() const
Return distance to intersection for patch face centres.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
TemplateName(blendedSchemeBase)
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.
tmp< Field< Type > > pointInterpolate(const Field< Type > &pf) const
Interpolate point field.
errorManip< error > abort(error &err)
const scalarField & pointDistanceToIntersection() const
Return distance to intersection for patch points.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Interpolation class dealing with transfer of data between two primitivePatches.
bool movePoints()
Correct weighting factors for moving mesh.