Loading...
Searching...
No Matches
motionInterpolation Class Reference

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

#include <motionInterpolation.H>

Inheritance diagram for motionInterpolation:

Public Member Functions

 TypeName ("motionInterpolation")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, motionInterpolation, Istream,(const fvMesh &mesh, Istream &entry),(mesh, entry))
 motionInterpolation (const fvMesh &mesh)
 Construct from an fvMesh.
 motionInterpolation (const fvMesh &mesh, Istream &entry)
 Construct from an fvMesh and an Istream.
virtual ~motionInterpolation ()
 Destructor.
const fvMeshmesh () const
 Return const-reference to the mesh.
virtual void interpolate (const volScalarField &, pointScalarField &) const
 Interpolate the given scalar cell displacement.
virtual void interpolate (const volVectorField &, pointVectorField &) const
 Interpolate the given vector cell displacement.

Static Public Member Functions

static autoPtr< motionInterpolation > New (const fvMesh &mesh)
 Select default.
static autoPtr< motionInterpolation > New (const fvMesh &mesh, Istream &entry)
 Select from stream.

Detailed Description

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.

Source files

Definition at line 48 of file motionInterpolation.H.

Constructor & Destructor Documentation

◆ motionInterpolation() [1/2]

motionInterpolation ( const fvMesh & mesh)

Construct from an fvMesh.

Definition at line 37 of file motionInterpolation.C.

References mesh().

Here is the call graph for this function:

◆ motionInterpolation() [2/2]

motionInterpolation ( const fvMesh & mesh,
Istream & entry )

Construct from an fvMesh and an Istream.

Definition at line 46 of file motionInterpolation.C.

References mesh().

Here is the call graph for this function:

◆ ~motionInterpolation()

~motionInterpolation ( )
virtual

Destructor.

Definition at line 91 of file motionInterpolation.C.

Member Function Documentation

◆ TypeName()

TypeName ( "motionInterpolation" )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr ,
motionInterpolation ,
Istream ,
(const fvMesh &mesh, Istream &entry) ,
(mesh, entry)  )

References mesh().

Here is the call graph for this function:

◆ New() [1/2]

Foam::autoPtr< Foam::motionInterpolation > New ( const fvMesh & mesh)
static

Select default.

Definition at line 59 of file motionInterpolation.C.

References mesh(), and autoPtr< T >::New().

Here is the call graph for this function:

◆ New() [2/2]

Foam::autoPtr< Foam::motionInterpolation > New ( const fvMesh & mesh,
Istream & entry )
static

Select from stream.

Definition at line 66 of file motionInterpolation.C.

References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, and mesh().

Here is the call graph for this function:

◆ mesh()

◆ interpolate() [1/2]

void interpolate ( const volScalarField & cellDisplacement,
pointScalarField & pointDisplacement ) const
virtual

Interpolate the given scalar cell displacement.

Reimplemented in patchCorrectedInterpolation, and patchTransformedInterpolation.

Definition at line 97 of file motionInterpolation.C.

References volPointInterpolation::interpolate(), mesh, and MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >::New().

Here is the call graph for this function:

◆ interpolate() [2/2]

void interpolate ( const volVectorField & cellDisplacement,
pointVectorField & pointDisplacement ) const
virtual

Interpolate the given vector cell displacement.

Reimplemented in patchCorrectedInterpolation, and patchTransformedInterpolation.

Definition at line 111 of file motionInterpolation.C.

References volPointInterpolation::interpolate(), mesh, and MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >::New().

Here is the call graph for this function:

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