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)
 Construct from fvMesh. 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),(mesh))
 
 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...
 
const dictionarydict () const
 Return the dynamicMeshDict/mover dict. 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;

displacementLaplacianCoeffs
{
    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 fvMeshMoversInterpolator.H.

Constructor & Destructor Documentation

◆ interpolator() [1/2]

interpolator ( fvMesh mesh)

Construct from fvMesh.

Definition at line 46 of file fvMeshMoversInterpolator.C.

◆ interpolator() [2/2]

interpolator ( const interpolator )
delete

Disallow default bitwise copy construction.

◆ ~interpolator()

Destructor.

Definition at line 64 of file fvMeshMoversInterpolator.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 71 of file fvMeshMoversInterpolator.C.

◆ topoChange()

void topoChange ( const polyTopoChangeMap )
virtual

Update corresponding to the given map.

Implements fvMeshMover.

Definition at line 88 of file fvMeshMoversInterpolator.C.

References NotImplemented.

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements fvMeshMover.

Definition at line 94 of file fvMeshMoversInterpolator.C.

◆ distribute()

void distribute ( const polyDistributionMap )
virtual

Update corresponding to the given distribution map.

Implements fvMeshMover.

Definition at line 103 of file fvMeshMoversInterpolator.C.

References NotImplemented.

◆ operator=()

void operator= ( const interpolator )
delete

Disallow default bitwise assignment.


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