42 #ifndef sixDoFRigidBodyMotionState_H 43 #define sixDoFRigidBodyMotionState_H 59 class sixDoFRigidBodyMotionState;
60 Istream&
operator>>(Istream&, sixDoFRigidBodyMotionState&);
61 Ostream&
operator<<(Ostream&,
const sixDoFRigidBodyMotionState&);
73 point centreOfRotation_;
114 inline const tensor&
Q()
const;
117 inline const vector&
v()
const;
120 inline const vector&
a()
const;
const vector & a() const
Return access to acceleration.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void write(dictionary &dict) const
Write to dictionary.
const vector & v() const
Return access to velocity.
friend Istream & operator>>(Istream &, sixDoFRigidBodyMotionState &)
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.
const vector & pi() const
Return access to angular momentum.
Istream & operator>>(Istream &, directionInfo &)
Holds the motion state of sixDoF object. Wrapped up together to allow rapid scatter to other processo...
friend Ostream & operator<<(Ostream &, const sixDoFRigidBodyMotionState &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const tensor & Q() const
Return access to the orientation.
Tensor of scalars, i.e. Tensor<scalar>.