displacementMotionSolver Class Reference

Virtual base class for displacement motion solver. More...

Inheritance diagram for displacementMotionSolver:
Collaboration diagram for displacementMotionSolver:

Public Member Functions

 TypeName ("displacementMotionSolver")
 Runtime type information. More...
 
 displacementMotionSolver (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementMotionSolver (const displacementMotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementMotionSolver ()
 Destructor. More...
 
pointVectorFieldpointDisplacement ()
 Return reference to the point motion displacement field. More...
 
const pointVectorFieldpointDisplacement () const
 Return const reference to the point motion displacement field. More...
 
void operator= (const displacementMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from points0MotionSolver
 TypeName ("points0MotionSolver")
 Runtime type information. More...
 
 points0MotionSolver (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 points0MotionSolver (const points0MotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~points0MotionSolver ()
 Destructor. More...
 
pointFieldpoints0 ()
 Return reference to the reference field. More...
 
const pointFieldpoints0 () const
 Return reference to the reference field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Update local data for topology changes. More...
 
void operator= (const points0MotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from motionSolver
 TypeName ("motionSolver")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 motionSolver (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 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 tmp< pointFieldcurPoints () const =0
 Provide current points for motion. Uses current motion field. More...
 
virtual void twoDCorrectPoints (pointField &) const
 
virtual void solve ()=0
 Solve for motion. More...
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 

Protected Attributes

pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from points0MotionSolver
pointIOField points0_
 Starting points. More...
 

Additional Inherited Members

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

Detailed Description

Virtual base class for displacement motion solver.

The boundary displacement is set as a boundary condition on the pointDisplacement pointVectorField.

Source files

Definition at line 51 of file displacementMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementMotionSolver() [1/2]

displacementMotionSolver ( const polyMesh mesh,
const dictionary dict,
const word type 
)

Construct from mesh and dictionary.

Definition at line 39 of file displacementMotionSolver.C.

◆ displacementMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~displacementMotionSolver()

Destructor.

Definition at line 63 of file displacementMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "displacementMotionSolver"  )

Runtime type information.

◆ pointDisplacement() [1/2]

pointVectorField& pointDisplacement ( )
inline

Return reference to the point motion displacement field.

Definition at line 90 of file displacementMotionSolver.H.

References displacementMotionSolver::pointDisplacement_.

Referenced by rigidBodyMeshMotionSolver::solve().

Here is the caller graph for this function:

◆ pointDisplacement() [2/2]

const pointVectorField& pointDisplacement ( ) const
inline

Return const reference to the point motion displacement field.

Definition at line 96 of file displacementMotionSolver.H.

References displacementMotionSolver::operator=(), and displacementMotionSolver::pointDisplacement_.

Here is the call graph for this function:

◆ operator=()

void operator= ( const displacementMotionSolver )
delete

Disallow default bitwise assignment.

Referenced by displacementMotionSolver::pointDisplacement().

Here is the caller graph for this function:

Member Data Documentation

◆ pointDisplacement_

pointVectorField pointDisplacement_
mutableprotected

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