OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

PatchToPatchInterpolation Class Template Reference

Collaboration diagram for PatchToPatchInterpolation:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 74 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.

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.


Member Function Documentation

static scalar setProjectionTol ( const scalar  t  )  [inline, static]

Set the projection tolerance, returning the previous value.

Definition at line 184 of file PatchToPatchInterpolation.H.

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.

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.

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

Interpolate point field.

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

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

Interpolate face field.

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


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd