OpenFOAM logo
Open Source CFD Toolkit

PatchToPatchInterpolation Class Template Reference

Collaboration diagram for PatchToPatchInterpolation:

Collaboration graph
[legend]
List of all members.

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


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 scalarFieldpointDistanceToIntersection () const
 Return distance to intersection for patch points.
const scalarFieldfaceDistanceToIntersection () 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

scalar setProjectionTol (const scalar t)
 Set the projection tolerance, returning the previous value.

Constructor & Destructor Documentation

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

Construct from components.

~PatchToPatchInterpolation  ) 
 


Member Function Documentation

const scalarField& faceDistanceToIntersection  )  const
 

Return distance to intersection for patch face centres.

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

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

Interpolate face field.

bool movePoints  ) 
 

Correct weighting factors for moving mesh.

const scalarField& pointDistanceToIntersection  )  const
 

Return distance to intersection for patch points.

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

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

Interpolate point field.

intersection::algorithm projectionAlgo  )  const [inline]
 

Return ype of intersection algorithm to use in projection.

Definition at line 203 of file PatchToPatchInterpolation.H.

intersection::direction projectionDir  )  const [inline]
 

Return direction projection to use in projection.

Definition at line 209 of file PatchToPatchInterpolation.H.

References Foam::scalarField.

scalar setProjectionTol const scalar  t  )  [inline, static]
 

Set the projection tolerance, returning the previous value.

Definition at line 184 of file PatchToPatchInterpolation.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org