Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
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...

Inheritance diagram for motionInterpolation:
Inheritance graph
[legend]
Collaboration diagram for motionInterpolation:
Collaboration graph
[legend]

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 fvMeshmesh () const
 Return const-refernce 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< motionInterpolationNew (const fvMesh &mesh)
 Select default. More...
 
static autoPtr< motionInterpolationNew (const fvMesh &mesh, Istream &entry)
 Select from stream. More...
 

Private Member Functions

 motionInterpolation (const motionInterpolation &)
 Disallow default bitwise copy construct. More...
 
void operator= (const motionInterpolation &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const fvMeshmesh_
 Reference to the FV mesh. More...
 

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 50 of file motionInterpolation.H.

Constructor & Destructor Documentation

◆ motionInterpolation() [1/3]

Disallow default bitwise copy construct.

Referenced by motionInterpolation::New().

Here is the caller graph for this function:

◆ motionInterpolation() [2/3]

motionInterpolation ( const fvMesh mesh)

Construct from an fvMesh.

Definition at line 43 of file motionInterpolation.C.

◆ motionInterpolation() [3/3]

motionInterpolation ( const fvMesh mesh,
Istream entry 
)

Construct from an fvMesh and an Istream.

Definition at line 52 of file motionInterpolation.C.

◆ ~motionInterpolation()

~motionInterpolation ( )
virtual

Destructor.

Definition at line 96 of file motionInterpolation.C.

Member Function Documentation

◆ operator=()

void operator= ( const motionInterpolation )
private

Disallow default bitwise assignment.

◆ TypeName()

TypeName ( "motionInterpolation"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New() [1/2]

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

Select default.

Definition at line 64 of file motionInterpolation.C.

References motionInterpolation::mesh(), and motionInterpolation::motionInterpolation().

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 71 of file motionInterpolation.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, mesh, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ mesh()

const fvMesh& mesh ( ) const
inline

Return const-refernce to the mesh.

Definition at line 117 of file motionInterpolation.H.

References motionInterpolation::mesh_.

Referenced by motionInterpolation::New().

Here is the caller graph for this function:

◆ 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 103 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 117 of file motionInterpolation.C.

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

Here is the call graph for this function:

Field Documentation

◆ mesh_

const fvMesh& mesh_
private

Reference to the FV mesh.

Definition at line 55 of file motionInterpolation.H.

Referenced by motionInterpolation::mesh().


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