motionSolverList Class Reference

Motion of the mesh specified as a list of motion solvers. More...

Inheritance diagram for motionSolverList:
Collaboration diagram for motionSolverList:

Public Member Functions

 TypeName ("motionSolverList")
 Runtime type information. More...
 
 motionSolverList (const word &name, const polyMesh &, const dictionary &)
 Construct from mesh and dictionary. More...
 
 motionSolverList (const motionSolverList &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~motionSolverList ()
 Destructor. More...
 
virtual tmp< pointFieldcurPoints () const
 Provide current points for motion. Uses current motion field. More...
 
virtual void solve ()
 Solve for motion. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update local data for topology changes. 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 motionSolverList &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from motionSolver
 TypeName ("motionSolver")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict))
 
 motionSolver (const word &name, const polyMesh &mesh, const dictionary &, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< motionSolverclone () const
 Clone function. More...
 
virtual ~motionSolver ()
 Destructor. More...
 
const wordname () const
 Return name. More...
 
const wordkeyword () const
 Return keyword. More...
 
const polyMeshmesh () const
 Return reference to mesh. More...
 
const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< pointFieldnewPoints ()
 Provide new points for motion. Solves for motion. More...
 
virtual void twoDCorrectPoints (pointField &) const
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from motionSolver
static autoPtr< motionSolverNew (const word &name, const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 

Detailed Description

Motion of the mesh specified as a list of motion solvers.

The motion solvers are executed in order and the resulting displacements accumulated into an overall displacement and the displaced point positions returned.

Source files

Definition at line 53 of file motionSolverList.H.

Constructor & Destructor Documentation

◆ motionSolverList() [1/2]

motionSolverList ( const word name,
const polyMesh mesh,
const dictionary dict 
)

Construct from mesh and dictionary.

Definition at line 47 of file motionSolverList.C.

References forAllConstIter, motionSolver::New(), and dictionary::subDict().

Here is the call graph for this function:

◆ motionSolverList() [2/2]

motionSolverList ( const motionSolverList )
delete

Disallow default bitwise copy construction.

◆ ~motionSolverList()

~motionSolverList ( )
virtual

Destructor.

Definition at line 76 of file motionSolverList.C.

Member Function Documentation

◆ TypeName()

TypeName ( "motionSolverList"  )

Runtime type information.

◆ curPoints()

Foam::tmp< Foam::pointField > curPoints ( ) const
virtual

Provide current points for motion. Uses current motion field.

Implements motionSolver.

Definition at line 82 of file motionSolverList.C.

References forAllConstIter, mesh, nPoints, polyMesh::points(), and Foam::Zero.

Here is the call graph for this function:

◆ solve()

void solve ( )
virtual

Solve for motion.

Implements motionSolver.

Definition at line 103 of file motionSolverList.C.

References forAllIter.

◆ movePoints()

void movePoints ( const pointField points)
virtual

Update local data for geometry changes.

Implements motionSolver.

Definition at line 142 of file motionSolverList.C.

References forAllIter.

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update local data for topology changes.

Implements motionSolver.

Definition at line 112 of file motionSolverList.C.

References forAllIter.

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements motionSolver.

Definition at line 121 of file motionSolverList.C.

References motionSolverList::distribute(), and forAllIter.

Here is the call graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap map)
virtual

Update corresponding to the given distribution map.

Implements motionSolver.

Definition at line 131 of file motionSolverList.C.

References forAllIter.

Referenced by motionSolverList::mapMesh().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const motionSolverList )
delete

Disallow default bitwise assignment.


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