interpolator Class Reference

Interpolates pre-specified motion specified as a set of pointVectorFields. More...

Inheritance diagram for interpolator:
Collaboration diagram for interpolator:

Public Member Functions

 TypeName ("interpolator")
 Runtime type information. More...
 
 interpolator (fvMesh &mesh, const dictionary &dict)
 Construct from fvMesh and dictionary. More...
 
 interpolator (const interpolator &)=delete
 Disallow default bitwise copy construction. More...
 
 ~interpolator ()
 Destructor. More...
 
virtual bool update ()
 Update the mesh for both mesh motion and topology change. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update corresponding to the given map. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
virtual void distribute (const polyDistributionMap &)
 Update corresponding to the given distribution map. More...
 
void operator= (const interpolator &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from fvMeshMover
 TypeName ("fvMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fvMeshMover, fvMesh,(fvMesh &mesh, const dictionary &dict),(mesh, dict))
 
 fvMeshMover (fvMesh &)
 Construct from fvMesh. More...
 
 fvMeshMover (const fvMeshMover &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvMeshMover ()
 Destructor. More...
 
fvMeshmesh ()
 Return the fvMesh. More...
 
const fvMeshmesh () const
 Return the fvMesh. More...
 
virtual bool dynamic () const
 Is mesh dynamic, i.e. might it change? More...
 
virtual bool solidBody () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. More...
 
virtual bool write (const bool write=true) const
 Write the mover state. More...
 
void operator= (const fvMeshMover &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from fvMeshMover
static autoPtr< fvMeshMoverNew (fvMesh &)
 Select, construct and return the fvMeshMover. More...
 

Detailed Description

Interpolates pre-specified motion specified as a set of pointVectorFields.

The motion can be provided either as a set of displacement or position fields and the entry displacement specified accordingly.

Usage
Example:
mover   interpolator;

interpolatorCoeffs
{
    field               wantedDisplacement;
    displacement        yes;
    interpolationScheme linear;
}

This will scan the case for wantedDisplacement pointVectorFields in the time directories and interpolate those in time (using linear interpolation) to obtain the current displacement. The advantage of specifying displacement in this way is that it automatically works in parallel using decomposePar to decompose the set of pointVectorFields provided.

Source files

Definition at line 74 of file interpolator_fvMeshMover.H.

Constructor & Destructor Documentation

◆ interpolator() [1/2]

interpolator ( fvMesh mesh,
const dictionary dict 
)

Construct from fvMesh and dictionary.

Definition at line 46 of file interpolator_fvMeshMover.C.

◆ interpolator() [2/2]

interpolator ( const interpolator )
delete

Disallow default bitwise copy construction.

◆ ~interpolator()

Destructor.

Definition at line 67 of file interpolator_fvMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "interpolator"  )

Runtime type information.

◆ update()

bool update ( )
virtual

Update the mesh for both mesh motion and topology change.

Implements fvMeshMover.

Definition at line 73 of file interpolator_fvMeshMover.C.

References mesh, and fvMesh::movePoints().

Here is the call graph for this function:

◆ topoChange()

void topoChange ( const polyTopoChangeMap )
virtual

Update corresponding to the given map.

Implements fvMeshMover.

Definition at line 90 of file interpolator_fvMeshMover.C.

References NotImplemented.

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements fvMeshMover.

Definition at line 96 of file interpolator_fvMeshMover.C.

References mesh, and polyMesh::points().

Here is the call graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap )
virtual

Update corresponding to the given distribution map.

Implements fvMeshMover.

Definition at line 105 of file interpolator_fvMeshMover.C.

References NotImplemented.

◆ operator=()

void operator= ( const interpolator )
delete

Disallow default bitwise assignment.


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