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;
144 virtual bool write();
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.
virtual wordList fields() const
Return the list of fields required.
static const List< T > & null()
Return a null List.
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.