56 #ifndef sixDoFRigidBodyState_H 57 #define sixDoFRigidBodyState_H 67 class sixDoFRigidBodyMotion;
69 namespace functionObjects
76 class sixDoFRigidBodyState
78 public fvMeshFunctionObject,
88 const sixDoFRigidBodyMotion& motion()
const;
138 virtual bool write();
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return the name of this functionObject.
vector velocity() const
Return the current body velocity.
A list of keyword definitions, which are a keyword followed by any number of values (e...
vector angularVelocity() const
Return the current body angular velocity.
Writes the 6-DoF motion state.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool execute()
Execute, currently does nothing.
virtual bool read(const dictionary &)
Read the sixDoFRigidBodyState data.
A class for handling words, derived from string.
TypeName("sixDoFRigidBodyState")
Runtime type information.
virtual void writeFileHeader(const label i=0)
overloaded writeFileHeader from writeFile
sixDoFRigidBodyState(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool write()
Write the sixDoFRigidBodyState.
virtual ~sixDoFRigidBodyState()
Destructor.
void operator=(const sixDoFRigidBodyState &)=delete
Disallow default bitwise assignment.