41#ifndef rigidBodyMeshMotionSolver_H
42#define rigidBodyMeshMotionSolver_H
56class rigidBodyMeshMotionSolver
78 friend class rigidBodyMeshMotionSolver;
122 rigidBodyMeshMotionSolver(
const rigidBodyMeshMotionSolver&) =
delete;
125 void operator=(
const rigidBodyMeshMotionSolver&) =
delete;
137 rigidBodyMeshMotionSolver
154 virtual void solve();
160 const bool writeOnProc
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A simple container for options an IOstream can normally have.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Six degree of freedom motion for a rigid body.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Virtual base class for displacement motion solver.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const polyMesh & mesh() const
Return reference to mesh.
motionSolver(const polyMesh &mesh)
Construct from polyMesh.
Mesh consisting of general polyhedral cells.
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc) const
Write state using stream options.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
TypeName("rigidBodyMotionSolver")
Runtime type information.
~rigidBodyMeshMotionSolver()=default
Destructor.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
virtual void solve()
Solve for motion.
virtual bool read()
Read dynamicMeshDict dictionary.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
vectorField pointField
pointField is a vectorField.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.