friend Ostream & operator<<(Ostream &, const sixDoFRigidBodyMotionState &)
const vector & pi() const
Return access to angular momentum.
const tensor & Q() const
Return access to the orientation.
const vector & a() const
Return access to acceleration.
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 &)
const vector & v() const
Return access to velocity.
const vector & tau() const
Return access to torque.
sixDoFRigidBodyMotionState()
Default construct, zero-initialized with identity transformation.
const point & centreOfRotation() const
Return access to the centre of mass.