38 #ifndef rigidBodyMeshMotion_H 39 #define rigidBodyMeshMotion_H 160 virtual void solve();
163 virtual bool write()
const;
Virtual base class for displacement motion solver.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool write() const
Write motion state information for restart.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
Rigid-body mesh motion solver for fvMesh.
~rigidBodyMeshMotion()
Destructor.
void operator=(const rigidBodyMeshMotion &)=delete
Disallow default bitwise assignment.
virtual void write(Ostream &) const
Write.
Six degree of freedom motion for a rigid body.
virtual void solve()
Solve for motion.
A class for handling words, derived from string.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
const word & name(const label bodyID) const
Return the name of body with the given ID.
rigidBodyMeshMotion(const polyMesh &, const dictionary &dict)
Construct from polyMesh and dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
label bodyID(const word &name) const
Return the ID of the body with the given name.
Mesh consisting of general polyhedral cells.
const polyMesh & mesh() const
Return reference to mesh.
A class for managing temporary objects.
TypeName("rigidBodyMotion")
Runtime type information.