Public Member Functions | List of all members
PrimitivePatchInterpolation< Patch > Class Template Reference

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

Inheritance diagram for PrimitivePatchInterpolation< Patch >:
Inheritance graph
[legend]

Public Member Functions

 PrimitivePatchInterpolation (const Patch &p)
 Construct from PrimitivePatch. More...
 
 ~PrimitivePatchInterpolation ()
 Destructor. More...
 
template<class Type >
tmp< Field< Type > > faceToPointInterpolate (const Field< Type > &ff) const
 Interpolate from faces to points. More...
 
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. More...
 
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. More...
 
template<class Type >
tmp< Field< Type > > faceToEdgeInterpolate (const tmp< Field< Type > > &tff) const
 
bool movePoints ()
 Do what is neccessary if the mesh has moved. More...
 

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 51 of file PrimitivePatchInterpolation.H.

Constructor & Destructor Documentation

PrimitivePatchInterpolation ( const Patch &  p)

Construct from PrimitivePatch.

Definition at line 156 of file PrimitivePatchInterpolation.C.

Destructor.

Definition at line 167 of file PrimitivePatchInterpolation.C.

References PrimitivePatchInterpolation< Patch >::faceToPointInterpolate().

Here is the call graph for this function:

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().

Referenced by PrimitivePatchInterpolation< Patch >::faceToPointInterpolate(), and PrimitivePatchInterpolation< Patch >::~PrimitivePatchInterpolation().

Here is the call graph for this function:

Here is the caller graph for this function:

tmp< Field< Type > > faceToPointInterpolate ( const tmp< Field< Type > > &  tff) const
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().

Referenced by PrimitivePatchInterpolation< Patch >::faceToPointInterpolate(), and PrimitivePatchInterpolation< Patch >::pointToFaceInterpolate().

Here is the call graph for this function:

Here is the caller graph for this function:

tmp< Field< Type > > pointToFaceInterpolate ( const tmp< Field< Type > > &  tpf) const
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().

Referenced by PrimitivePatchInterpolation< Patch >::faceToEdgeInterpolate(), and PrimitivePatchInterpolation< Patch >::pointToFaceInterpolate().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 345 of file PrimitivePatchInterpolation.C.

References PrimitivePatchInterpolation< Patch >::faceToEdgeInterpolate().

Here is the call graph for this function:

bool movePoints ( )

Do what is neccessary if the mesh has moved.

Definition at line 356 of file PrimitivePatchInterpolation.C.


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