Interpolation class dealing with transfer of data between two primitivePatches. More...
#include <OpenFOAM/PatchToPatchInterpolation_.H>
Interpolation class dealing with transfer of data between two primitivePatches.
Definition at line 66 of file 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 () | |
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 |
Static Public Member Functions | |
static scalar | setProjectionTol (const scalar t) |
Set the projection tolerance, returning the previous value.
|
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 115 of file PatchToPatchInterpolation_.C.
Definition at line 138 of file PatchToPatchInterpolation_.C.
static scalar setProjectionTol | ( | const scalar | t ) | [inline, static]
|
Set the projection tolerance, returning the previous value.
Definition at line 174 of file PatchToPatchInterpolation_.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
intersection::algorithm projectionAlgo | ( | ) | const [inline]
|
Return ype of intersection algorithm to use in projection.
Definition at line 193 of file PatchToPatchInterpolation_.H.
intersection::direction projectionDir | ( | ) | const [inline]
|
Return direction projection to use in projection.
Definition at line 199 of file PatchToPatchInterpolation_.H.
const scalarField & pointDistanceToIntersection | ( | ) | const |
Return distance to intersection for patch points.
Definition at line 149 of file PatchToPatchInterpolation_.C.
const scalarField & faceDistanceToIntersection | ( | ) | const |
Return distance to intersection for patch face centres.
Definition at line 163 of file PatchToPatchInterpolation_.C.
bool movePoints | ( | ) |
Correct weighting factors for moving mesh.
Definition at line 175 of file PatchToPatchInterpolation_.C.
Interpolate point field.
Definition at line 41 of file PatchToPatchInterpolate.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, and List< Type >::size().
Definition at line 98 of file PatchToPatchInterpolate.C.
References tmp< T >::clear().
Interpolate face field.
Definition at line 113 of file PatchToPatchInterpolate.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, and List< Type >::size().
Definition at line 172 of file PatchToPatchInterpolate.C.