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 >:
[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 necessary 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 53 of file PrimitivePatchInterpolation.H.

Constructor & Destructor Documentation

◆ PrimitivePatchInterpolation()

PrimitivePatchInterpolation ( const Patch &  p)

Construct from PrimitivePatch.

Definition at line 155 of file PrimitivePatchInterpolation.C.

◆ ~PrimitivePatchInterpolation()

Destructor.

Definition at line 166 of file PrimitivePatchInterpolation.C.

Member Function Documentation

◆ faceToPointInterpolate() [1/2]

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

Interpolate from faces to points.

Definition at line 177 of file PrimitivePatchInterpolation.C.

Referenced by parseDriver::faceToPoint(), sampledPatchInternalField::sampleOnPoints(), and patchWriter::write().

Here is the caller graph for this function:

◆ faceToPointInterpolate() [2/2]

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

Definition at line 221 of file PrimitivePatchInterpolation.C.

◆ pointToFaceInterpolate() [1/2]

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

Interpolate from points to faces.

Definition at line 234 of file PrimitivePatchInterpolation.C.

Referenced by Bezier::dxdbFace(), and parseDriver::pointToFace().

Here is the caller graph for this function:

◆ pointToFaceInterpolate() [2/2]

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

Definition at line 278 of file PrimitivePatchInterpolation.C.

◆ faceToEdgeInterpolate() [1/2]

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

Interpolate from faces to edges.

Definition at line 291 of file PrimitivePatchInterpolation.C.

◆ faceToEdgeInterpolate() [2/2]

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

Definition at line 331 of file PrimitivePatchInterpolation.C.

◆ movePoints()

bool movePoints ( )

Do what is necessary if the mesh has moved.

Definition at line 342 of file PrimitivePatchInterpolation.C.


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