Public Member Functions | Static Public Member Functions | List of all members
PatchToPatchInterpolation< FromPatch, ToPatch > Class Template Reference

Interpolation class dealing with transfer of data between two primitivePatches. More...

Inheritance diagram for PatchToPatchInterpolation< FromPatch, ToPatch >:
Inheritance graph
[legend]
Collaboration diagram for PatchToPatchInterpolation< FromPatch, ToPatch >:
Collaboration graph
[legend]

Public Member Functions

 PatchToPatchInterpolation (const FromPatch &fromPatch, const ToPatch &toPatch, const intersection::algorithm alg=intersection::FULL_RAY, const intersection::direction dir=intersection::VECTOR)
 
 ~PatchToPatchInterpolation ()
 
intersection::algorithm projectionAlgo () const
 
intersection::direction projectionDir () const
 
const scalarFieldpointDistanceToIntersection () const
 
const scalarFieldfaceDistanceToIntersection () const
 
bool movePoints ()
 
template<class Type >
tmp< Field< Type > > pointInterpolate (const Field< Type > &pf) const
 
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
 
template<class Type >
tmp< Field< Type > > faceInterpolate (const tmp< Field< Type >> &tpf) const
 

Static Public Member Functions

static scalar setProjectionTol (const scalar t)
 

Detailed Description

template<class FromPatch, class ToPatch>
class Foam::PatchToPatchInterpolation< FromPatch, ToPatch >

Interpolation class dealing with transfer of data between two primitivePatches.

Source files

Definition at line 63 of file PatchToPatchInterpolation.H.

Constructor & Destructor Documentation

◆ PatchToPatchInterpolation()

PatchToPatchInterpolation ( const FromPatch &  fromPatch,
const ToPatch &  toPatch,
const intersection::algorithm  alg = intersection::FULL_RAY,
const intersection::direction  dir = intersection::VECTOR 
)

Definition at line 105 of file PatchToPatchInterpolation.C.

◆ ~PatchToPatchInterpolation()

Definition at line 128 of file PatchToPatchInterpolation.C.

Member Function Documentation

◆ setProjectionTol()

static scalar setProjectionTol ( const scalar  t)
inlinestatic

Definition at line 170 of file PatchToPatchInterpolation.H.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ projectionAlgo()

intersection::algorithm projectionAlgo ( ) const
inline

Definition at line 185 of file PatchToPatchInterpolation.H.

◆ projectionDir()

intersection::direction projectionDir ( ) const
inline

Definition at line 191 of file PatchToPatchInterpolation.H.

◆ pointDistanceToIntersection()

const scalarField & pointDistanceToIntersection

Definition at line 139 of file PatchToPatchInterpolation.C.

◆ faceDistanceToIntersection()

const scalarField & faceDistanceToIntersection

Definition at line 153 of file PatchToPatchInterpolation.C.

◆ movePoints()

bool movePoints

Definition at line 165 of file PatchToPatchInterpolation.C.

◆ pointInterpolate() [1/2]

tmp< Field< Type > > pointInterpolate ( const Field< Type > &  pf) const

Definition at line 37 of file PatchToPatchInterpolate.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, tmp::ref(), and Foam::Zero.

Here is the call graph for this function:

◆ pointInterpolate() [2/2]

tmp< Field< Type > > pointInterpolate ( const tmp< Field< Type >> &  tpf) const

Definition at line 87 of file PatchToPatchInterpolate.C.

◆ faceInterpolate() [1/2]

tmp< Field< Type > > faceInterpolate ( const Field< Type > &  pf) const

Definition at line 101 of file PatchToPatchInterpolate.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::fv::ff(), forAll, tmp::ref(), and Foam::Zero.

Here is the call graph for this function:

◆ faceInterpolate() [2/2]

tmp< Field< Type > > faceInterpolate ( const tmp< Field< Type >> &  tpf) const

Definition at line 153 of file PatchToPatchInterpolate.C.


The documentation for this class was generated from the following files: