FreeFOAM The Cross-Platform CFD Toolkit
PrimitivePatchInterpolation< Patch > Class Template Reference

Interpolation class within a primitive patch. Allows interpolation from points to faces and vice versa. More...

#include <OpenFOAM/PrimitivePatchInterpolation_.H>


Detailed Description

template<class Patch>
class Foam::PrimitivePatchInterpolation< Patch >

Interpolation class within a primitive patch. Allows interpolation from points to faces and vice versa.

Source files

Definition at line 52 of file PrimitivePatchInterpolation_.H.

List of all members.

Public Member Functions

 PrimitivePatchInterpolation (const Patch &p)
 Construct from PrimitivePatch.
 ~PrimitivePatchInterpolation ()
template<class Type >
tmp< Field< Type > > faceToPointInterpolate (const Field< Type > &ff) const
 Interpolate from faces to points.
template<class Type >
tmp< Field< Type > > faceToPointInterpolate (const tmp< Field< Type > > &tff) const
template<class Type >
tmp< Field< Type > > pointToFaceInterpolate (const Field< Type > &pf) const
 Interpolate from points to faces.
template<class Type >
tmp< Field< Type > > pointToFaceInterpolate (const tmp< Field< Type > > &tpf) const
template<class Type >
tmp< Field< Type > > faceToEdgeInterpolate (const Field< Type > &ff) const
 Interpolate from faces to edges.
template<class Type >
tmp< Field< Type > > faceToEdgeInterpolate (const tmp< Field< Type > > &tff) const
bool movePoints ()
 Do what is neccessary if the mesh has moved.

Constructor & Destructor Documentation

PrimitivePatchInterpolation ( const Patch &  p)

Construct from PrimitivePatch.

Definition at line 156 of file PrimitivePatchInterpolation_.C.


Member Function Documentation

tmp< Field< Type > > faceToPointInterpolate ( const Field< Type > &  ff) const

Interpolate from faces to points.

Definition at line 178 of file PrimitivePatchInterpolation_.C.

References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, and List< Type >::size().

tmp< Field< Type > > faceToPointInterpolate ( const tmp< Field< Type > > &  tff) const

Definition at line 225 of file PrimitivePatchInterpolation_.C.

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

Interpolate from points to faces.

Definition at line 238 of file PrimitivePatchInterpolation_.C.

References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, List< T >::size(), and List< Type >::size().

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

Definition at line 285 of file PrimitivePatchInterpolation_.C.

tmp< Field< Type > > faceToEdgeInterpolate ( const Field< Type > &  ff) const

Interpolate from faces to edges.

Definition at line 298 of file PrimitivePatchInterpolation_.C.

References Foam::abort(), Foam::FatalError, FatalErrorIn, List< Type >::size(), and List< T >::size().

tmp< Field< Type > > faceToEdgeInterpolate ( const tmp< Field< Type > > &  tff) const

Definition at line 347 of file PrimitivePatchInterpolation_.C.

bool movePoints ( )

Do what is neccessary if the mesh has moved.

Definition at line 358 of file PrimitivePatchInterpolation_.C.


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