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_;
118 void calcPointAddressing()
const;
121 void calcFaceAddressing()
const;
143 static const scalar directHitTol;
153 const FromPatch& fromPatch,
154 const ToPatch& toPatch,
179 scalar oldTol = projectionTol_;
TemplateName(blendedSchemeBase)
void operator=(const PatchToPatchInterpolation &)=delete
Disallow default bitwise assignment.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const scalarField & faceDistanceToIntersection() const
Return distance to intersection for patch face centres.
const scalarField & pointDistanceToIntersection() const
Return distance to intersection for patch points.
tmp< Field< Type > > pointInterpolate(const Field< Type > &pf) const
Interpolate point field.
PatchToPatchInterpolation(const FromPatch &fromPatch, const ToPatch &toPatch, const intersection::algorithm alg=intersection::algorithm::fullRay, const intersection::direction dir=intersection::direction::vector)
Construct from components.
~PatchToPatchInterpolation()
Destructor.
errorManip< error > abort(error &err)
intersection::direction projectionDir() const
Return direction projection to use in projection.
intersection::algorithm projectionAlgo() const
Return ype of intersection algorithm 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.
tmp< Field< Type > > faceInterpolate(const Field< Type > &pf) const
Interpolate face field.
Interpolation class dealing with transfer of data between two primitivePatches.