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 ()=default | |
| 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... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | faceToPointInterpolate (const Field< Type > &ff) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | faceToPointInterpolate (const tmp< Field< Type >> &tff) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | pointToFaceInterpolate (const Field< Type > &pf) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | pointToFaceInterpolate (const tmp< Field< Type >> &tpf) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | faceToEdgeInterpolate (const Field< Type > &pf) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | faceToEdgeInterpolate (const tmp< Field< Type >> &tpf) const |
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice versa.
Definition at line 46 of file PrimitivePatchInterpolation.H.
| PrimitivePatchInterpolation | ( | const Patch & | p | ) |
Construct from PrimitivePatch.
Definition at line 142 of file PrimitivePatchInterpolation.C.
|
default |
Destructor.
Interpolate from faces to points.
Referenced by parseDriver::faceToPoint().

Interpolate from points to faces.
Referenced by Bezier::dxdbFace(), and parseDriver::pointToFace().

Interpolate from faces to edges.
| bool movePoints | ( | ) |
Do what is necessary if the mesh has moved.
Definition at line 311 of file PrimitivePatchInterpolation.C.
| Foam::tmp<Foam::Field<Type> > faceToPointInterpolate | ( | const Field< Type > & | ff | ) | const |
Definition at line 156 of file PrimitivePatchInterpolation.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::fv::ff(), forAll, Foam::New(), and Foam::Zero.

| Foam::tmp<Foam::Field<Type> > faceToPointInterpolate | ( | const tmp< Field< Type >> & | tff | ) | const |
Definition at line 194 of file PrimitivePatchInterpolation.C.
| Foam::tmp<Foam::Field<Type> > pointToFaceInterpolate | ( | const Field< Type > & | pf | ) | const |
Definition at line 208 of file PrimitivePatchInterpolation.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::New(), UList< Type >::size(), UList< T >::size(), and Foam::Zero.

| Foam::tmp<Foam::Field<Type> > pointToFaceInterpolate | ( | const tmp< Field< Type >> & | tpf | ) | const |
Definition at line 245 of file PrimitivePatchInterpolation.C.
| Foam::tmp<Foam::Field<Type> > faceToEdgeInterpolate | ( | const Field< Type > & | pf | ) | const |
Definition at line 259 of file PrimitivePatchInterpolation.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::New(), UList< Type >::size(), UList< T >::size(), and Foam::Zero.

| Foam::tmp<Foam::Field<Type> > faceToEdgeInterpolate | ( | const tmp< Field< Type >> & | tpf | ) | const |
Definition at line 300 of file PrimitivePatchInterpolation.C.