38 #ifndef PatchToPatchInterpolation_H 39 #define PatchToPatchInterpolation_H 65 template<
class FromPatch,
class ToPatch>
68 public PatchToPatchInterpolationName
73 const FromPatch& fromPatch_;
76 const ToPatch& toPatch_;
89 static scalar projectionTol_;
124 void calcPointAddressing()
const;
127 void calcFaceAddressing()
const;
149 static const scalar directHitTol;
159 const FromPatch& fromPatch,
160 const ToPatch& toPatch,
181 scalar oldTol = projectionTol_;
const scalarField & pointDistanceToIntersection() const
Return distance to intersection for patch points.
TemplateName(blendedSchemeBase)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const scalarField & faceDistanceToIntersection() const
Return distance to intersection for patch face centres.
tmp< Field< Type > > faceInterpolate(const Field< Type > &pf) const
Interpolate face field.
tmp< Field< Type > > pointInterpolate(const Field< Type > &pf) const
Interpolate point field.
intersection::algorithm projectionAlgo() const
Return ype of intersection algorithm to use in projection.
~PatchToPatchInterpolation()
Destructor.
errorManip< error > abort(error &err)
intersection::direction projectionDir() const
Return direction projection to use in projection.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
bool movePoints()
Correct weighting factors for moving mesh.
A class for managing temporary objects.
static scalar setProjectionTol(const scalar t)
Set the projection tolerance, returning the previous value.
Interpolation class dealing with transfer of data between two primitivePatches.