PrimitivePatchInterpolation< Patch > Class Template Reference

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

Public Member Functions

 PrimitivePatchInterpolation (const Patch &p)
 Construct from PrimitivePatch. More...
 
 PrimitivePatchInterpolation (const PrimitivePatchInterpolation &)=delete
 Disallow default bitwise copy construction. 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...
 
void operator= (const PrimitivePatchInterpolation &)=delete
 Disallow default bitwise assignment. 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() [1/2]

PrimitivePatchInterpolation ( const Patch &  p)

Construct from PrimitivePatch.

Definition at line 152 of file PrimitivePatchInterpolation.C.

◆ PrimitivePatchInterpolation() [2/2]

Disallow default bitwise copy construction.

◆ ~PrimitivePatchInterpolation()

Destructor.

Definition at line 163 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 173 of file PrimitivePatchInterpolation.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::fv::ff(), forAll, tmp< T >::ref(), and Foam::Zero.

Referenced by patchInternalField::interpolateField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ faceToPointInterpolate() [2/2]

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

Definition at line 217 of file PrimitivePatchInterpolation.C.

◆ pointToFaceInterpolate() [1/2]

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

Interpolate from points to faces.

Definition at line 230 of file PrimitivePatchInterpolation.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, tmp< T >::ref(), List< T >::size(), and Foam::Zero.

Here is the call graph for this function:

◆ pointToFaceInterpolate() [2/2]

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

Definition at line 274 of file PrimitivePatchInterpolation.C.

◆ faceToEdgeInterpolate() [1/2]

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

Interpolate from faces to edges.

Definition at line 287 of file PrimitivePatchInterpolation.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, tmp< T >::ref(), List< T >::size(), and Foam::Zero.

Here is the call graph for this function:

◆ 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 343 of file PrimitivePatchInterpolation.C.

◆ operator=()

void operator= ( const PrimitivePatchInterpolation< Patch > &  )
delete

Disallow default bitwise assignment.


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