Base class for interpolation of cell displacement fields, generated by fvMotionSolvers, to the points. This base class implements the default method which applies volPointInterpolation only. More...
Public Member Functions | |
TypeName ("motionInterpolation") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, motionInterpolation, Istream,(const fvMesh &mesh, Istream &entry),(mesh, entry)) | |
motionInterpolation (const fvMesh &mesh) | |
Construct from an fvMesh. More... | |
motionInterpolation (const fvMesh &mesh, Istream &entry) | |
Construct from an fvMesh and an Istream. More... | |
virtual | ~motionInterpolation () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return const-reference to the mesh. More... | |
virtual void | interpolate (const volScalarField &, pointScalarField &) const |
Interpolate the given scalar cell displacement. More... | |
virtual void | interpolate (const volVectorField &, pointVectorField &) const |
Interpolate the given vector cell displacement. More... | |
Static Public Member Functions | |
static autoPtr< motionInterpolation > | New (const fvMesh &mesh) |
Select default. More... | |
static autoPtr< motionInterpolation > | New (const fvMesh &mesh, Istream &entry) |
Select from stream. More... | |
Base class for interpolation of cell displacement fields, generated by fvMotionSolvers, to the points. This base class implements the default method which applies volPointInterpolation only.
Definition at line 52 of file motionInterpolation.H.
motionInterpolation | ( | const fvMesh & | mesh | ) |
Construct from an fvMesh.
Definition at line 44 of file motionInterpolation.C.
motionInterpolation | ( | const fvMesh & | mesh, |
Istream & | entry | ||
) |
Construct from an fvMesh and an Istream.
Definition at line 53 of file motionInterpolation.C.
|
virtual |
Destructor.
Definition at line 98 of file motionInterpolation.C.
TypeName | ( | "motionInterpolation" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
motionInterpolation | , | ||
Istream | , | ||
(const fvMesh &mesh, Istream &entry) | , | ||
(mesh, entry) | |||
) |
|
static |
Select default.
Definition at line 66 of file motionInterpolation.C.
References mesh, and Time::New().
|
static |
Select from stream.
Definition at line 73 of file motionInterpolation.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, and mesh.
|
inline |
Return const-reference to the mesh.
Definition at line 119 of file motionInterpolation.H.
|
virtual |
Interpolate the given scalar cell displacement.
Reimplemented in patchCorrectedInterpolation, and patchTransformedInterpolation.
Definition at line 104 of file motionInterpolation.C.
References mesh, and Time::New().
|
virtual |
Interpolate the given vector cell displacement.
Reimplemented in patchCorrectedInterpolation, and patchTransformedInterpolation.
Definition at line 118 of file motionInterpolation.C.
References mesh, and Time::New().