Go to the documentation of this file.
39 #ifndef sixDoFRigidBodyMotionState_H
40 #define sixDoFRigidBodyMotionState_H
58 class sixDoFRigidBodyMotionState;
59 Istream&
operator>>(Istream&, sixDoFRigidBodyMotionState&);
60 Ostream&
operator<<(Ostream&,
const sixDoFRigidBodyMotionState&);
119 inline const tensor&
Q()
const;
122 inline const vector&
v()
const;
125 inline const vector&
a()
const;
~sixDoFRigidBodyMotionState()
Destructor.
friend Ostream & operator<<(Ostream &, const sixDoFRigidBodyMotionState &)
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
const vector & tau() const
Return access to torque.
const vector & a() const
Return access to acceleration.
const vector & v() const
Return access to velocity.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const point & centreOfRotation() const
Return access to the centre of mass.
const tensor & Q() const
Return access to the orientation.
Ostream & operator<<(Ostream &, const edgeMesh &)
const vector & pi() const
Return access to angular momentum.
A list of keyword definitions, which are a keyword followed by any number of values (e....
vector tau_
Total torque on body, in body local reference frame.
Holds the motion state of sixDoF object. Wrapped up together to allow rapid scatter to other processo...
void write(dictionary &dict) const
Write to dictionary.
friend Istream & operator>>(Istream &, sixDoFRigidBodyMotionState &)
Istream & operator>>(Istream &, edgeMesh &)
vector pi_
Angular momentum of body, in body local reference frame.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
tensor Q_
Orientation, stored as the rotation tensor to transform.
sixDoFRigidBodyMotionState()
Construct null.
point centreOfRotation_
Current position of the centre of mass of the body.