Interpolation class dealing with transfer of data between two primitivePatches. More...
#include <PatchToPatchInterpolation.H>


Public Member Functions | |
| PatchToPatchInterpolation (const FromPatch &fromPatch, const ToPatch &toPatch, const intersection::algorithm alg=intersection::FULL_RAY, const intersection::direction dir=intersection::VECTOR) | |
| Construct from components. | |
| ~PatchToPatchInterpolation () | |
| Destructor. | |
| intersection::algorithm | projectionAlgo () const |
| Return ype of intersection algorithm to use in projection. | |
| intersection::direction | projectionDir () const |
| Return direction projection 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. | |
| bool | movePoints () |
| Correct weighting factors for moving mesh. | |
| template<class Type> | |
| tmp< Field< Type > > | pointInterpolate (const Field< Type > &pf) const |
| Interpolate point field. | |
| template<class Type> | |
| tmp< Field< Type > > | pointInterpolate (const tmp< Field< Type > > &tpf) const |
| template<class Type> | |
| tmp< Field< Type > > | faceInterpolate (const Field< Type > &pf) const |
| Interpolate face field. | |
| template<class Type> | |
| tmp< Field< Type > > | faceInterpolate (const tmp< Field< Type > > &tpf) const |
| Public Member Functions inherited from PatchToPatchInterpolationBase | |
| ClassName ("PatchToPatchInterpolation") | |
| Runtime type information. | |
| PatchToPatchInterpolationBase () noexcept=default | |
| Default construct. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from PatchToPatchInterpolationBase | |
| static scalar | projectionTol () noexcept |
| Access to projection tolerance. | |
| static scalar | setProjectionTol (const scalar tol) |
| Change propagation tolerance, return previous value. | |
| Static Protected Attributes inherited from PatchToPatchInterpolationBase | |
| static scalar | projectionTol_ = 0.05 |
| Relative merge tolerance for projected points missing the target. | |
| static const scalar | directHitTol = 1e-5 |
| Direct hit tolerance. | |
Interpolation class dealing with transfer of data between two primitivePatches.
Definition at line 122 of file PatchToPatchInterpolation.H.
| PatchToPatchInterpolation | ( | const FromPatch & | fromPatch, |
| const ToPatch & | toPatch, | ||
| const intersection::algorithm | alg = intersection::FULL_RAY, | ||
| const intersection::direction | dir = intersection::VECTOR ) |
Construct from components.
Definition at line 98 of file PatchToPatchInterpolation.C.
| ~PatchToPatchInterpolation | ( | ) |
Destructor.
Definition at line 116 of file PatchToPatchInterpolation.C.
|
inline |
Return ype of intersection algorithm to use in projection.
Definition at line 261 of file PatchToPatchInterpolation.H.
|
inline |
Return direction projection to use in projection.
Definition at line 269 of file PatchToPatchInterpolation.H.
| const scalarField & pointDistanceToIntersection | ( | ) | const |
Return distance to intersection for patch points.
Definition at line 127 of file PatchToPatchInterpolation.C.
| const scalarField & faceDistanceToIntersection | ( | ) | const |
Return distance to intersection for patch face centres.
Definition at line 141 of file PatchToPatchInterpolation.C.
| bool movePoints | ( | ) |
Correct weighting factors for moving mesh.
Definition at line 153 of file PatchToPatchInterpolation.C.
| tmp< Field< Type > > pointInterpolate | ( | const Field< Type > & | pf | ) | const |
Interpolate point field.
Definition at line 36 of file PatchToPatchInterpolate.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::New(), UList< T >::size(), and Foam::Zero.
Referenced by pointInterpolate().


| tmp< Field< Type > > pointInterpolate | ( | const tmp< Field< Type > > & | tpf | ) | const |
Definition at line 81 of file PatchToPatchInterpolate.C.
References pointInterpolate().

| tmp< Field< Type > > faceInterpolate | ( | const Field< Type > & | pf | ) | const |
Interpolate face field.
Definition at line 95 of file PatchToPatchInterpolate.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::New(), and Foam::Zero.
Referenced by faceInterpolate().


| tmp< Field< Type > > faceInterpolate | ( | const tmp< Field< Type > > & | tpf | ) | const |
Definition at line 143 of file PatchToPatchInterpolate.C.
References faceInterpolate().
