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,
179 "scalar PatchToPatchInterpolation::" 180 "setProjectionTol(const scalar t)" 181 ) <<
"Negative projection tolerance. This is not allowed." 185 scalar oldTol = projectionTol_;
Interpolation class dealing with transfer of data between two primitivePatches.
const scalarField & pointDistanceToIntersection() const
Return distance to intersection for patch points.
tmp< Field< Type > > faceInterpolate(const Field< Type > &pf) const
Interpolate face field.
tmp< Field< Type > > pointInterpolate(const Field< Type > &pf) const
Interpolate point field.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
static scalar setProjectionTol(const scalar t)
Set the projection tolerance, returning the previous value.
bool movePoints()
Correct weighting factors for moving mesh.
intersection::algorithm projectionAlgo() const
Return ype of intersection algorithm to use in projection.
errorManip< error > abort(error &err)
intersection::direction projectionDir() const
Return direction projection to use in projection.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
const scalarField & faceDistanceToIntersection() const
Return distance to intersection for patch face centres.
~PatchToPatchInterpolation()
Destructor.
TemplateName(blendedSchemeBase)
A class for managing temporary objects.