points0MotionSolver Class Reference

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

Inheritance diagram for points0MotionSolver:
Collaboration diagram for points0MotionSolver:

Public Member Functions

 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

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 solvers.

Source files

Definition at line 52 of file points0MotionSolver.H.

Constructor & Destructor Documentation

◆ points0MotionSolver() [1/2]

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

Construct from mesh and dictionary.

Definition at line 39 of file points0MotionSolver.C.

References TimePaths::constant(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, polyMesh::meshSubDir, IOobject::MUST_READ, IOobject::NO_WRITE, primitiveMesh::nPoints(), and objectRegistry::time().

Here is the call graph for this function:

◆ points0MotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~points0MotionSolver()

~points0MotionSolver ( )
virtual

Destructor.

Definition at line 74 of file points0MotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "points0MotionSolver"  )

Runtime type information.

◆ points0() [1/2]

pointField& points0 ( )
inline

Return reference to the reference field.

Definition at line 91 of file points0MotionSolver.H.

References points0MotionSolver::points0_.

Referenced by rigidBodyMeshMotion::curPoints(), rigidBodyMeshMotion::rigidBodyMeshMotion(), rigidBodyMeshMotionSolver::solve(), and rigidBodyMeshMotion::solve().

Here is the caller graph for this function:

◆ points0() [2/2]

const pointField& points0 ( ) const
inline

Return reference to the reference field.

Definition at line 97 of file points0MotionSolver.H.

References points0MotionSolver::movePoints(), points0MotionSolver::operator=(), points0MotionSolver::points0_, and points0MotionSolver::updateMesh().

Here is the call graph for this function:

◆ movePoints()

void movePoints ( const pointField )
virtual

Update local data for geometry changes.

Implements motionSolver.

Reimplemented in displacementMeshMoverMotionSolver.

Definition at line 80 of file points0MotionSolver.C.

Referenced by displacementMeshMoverMotionSolver::movePoints(), and points0MotionSolver::points0().

Here is the caller graph for this function:

◆ updateMesh()

◆ operator=()

void operator= ( const points0MotionSolver )
delete

Disallow default bitwise assignment.

Referenced by points0MotionSolver::points0().

Here is the caller graph for this function:

Member Data Documentation

◆ points0_

pointIOField points0_
protected

Starting points.

Definition at line 61 of file points0MotionSolver.H.

Referenced by points0MotionSolver::points0().


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