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 word &name, 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 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...
 
virtual bool write () const
 Write points0 if the mesh topology changed. 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 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 tmp< pointFieldcurPoints () const =0
 Provide current points for motion. Uses current motion field. More...
 
virtual void twoDCorrectPoints (pointField &) const
 Correct point field for reduced-dimensionality cases. More...
 
virtual bool solidBody () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. More...
 
virtual void solve ()=0
 Solve for motion. More...
 

Static Public Member Functions

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

Protected Attributes

pointVectorField points0_
 Starting points. More...
 

Detailed Description

Virtual base class for displacement motion solvers.

Source files

Definition at line 51 of file points0MotionSolver.H.

Constructor & Destructor Documentation

◆ points0MotionSolver() [1/2]

◆ points0MotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~points0MotionSolver()

~points0MotionSolver ( )
virtual

Destructor.

Definition at line 145 of file points0MotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "points0MotionSolver"  )

Runtime type information.

◆ readPoints0()

◆ points0() [1/2]

pointField& points0 ( )
inline

Return reference to the reference field.

Definition at line 94 of file points0MotionSolver.H.

References points0MotionSolver::points0_.

Referenced by points0MotionSolver::readPoints0(), rigidBodyMeshMotion::rigidBodyMeshMotion(), and sixDoFRigidBodyMotionSolver::sixDoFRigidBodyMotionSolver().

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 100 of file points0MotionSolver.H.

References points0MotionSolver::points0_.

◆ movePoints()

void movePoints ( const pointField )
virtual

Update local data for geometry changes.

Implements motionSolver.

Reimplemented in displacementMeshMoverMotionSolver.

Definition at line 151 of file points0MotionSolver.C.

Referenced by displacementMeshMoverMotionSolver::movePoints().

Here is the caller graph for this function:

◆ topoChange()

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Resets points0 to the points of the new mesh

Implements motionSolver.

Reimplemented in displacementSBRStressFvMotionSolver, displacementLaplacianFvMotionSolver, interpolatingSolidBodyMotionSolver, and displacementMotionSolver.

Definition at line 161 of file points0MotionSolver.C.

Referenced by displacementMotionSolver::mapMesh(), and interpolatingSolidBodyMotionSolver::mapMesh().

Here is the caller graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap map)
virtual

Update corresponding to the given distribution map.

Implements motionSolver.

Definition at line 167 of file points0MotionSolver.C.

◆ write()

bool write ( ) const
virtual

Write points0 if the mesh topology changed.

Reimplemented from motionSolver.

Reimplemented in sixDoFRigidBodyMotionSolver, and rigidBodyMeshMotion.

Definition at line 174 of file points0MotionSolver.C.

References motionSolver::write().

Referenced by rigidBodyMeshMotion::write(), and sixDoFRigidBodyMotionSolver::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const points0MotionSolver )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ points0_

pointVectorField points0_
protected

Starting points.

Definition at line 61 of file points0MotionSolver.H.

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


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