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