37 #ifndef rigidBodyModelState_H
38 #define rigidBodyModelState_H
57 class rigidBodyModelState;
58 Istream&
operator>>(Istream&, rigidBodyModelState&);
59 Ostream&
operator<<(Ostream&,
const rigidBodyModelState&);
115 inline scalar
t()
const;
118 inline scalar
deltaT()
const;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Holds the motion state of rigid-body model.
friend Ostream & operator<<(Ostream &, const rigidBodyModelState &)
scalar t() const
Return access to the time.
const scalarField & qDdot() const
Return access to the joint acceleration.
rigidBodyModelState(const rigidBodyModel &model)
Construct for the given rigidBodyModel.
const scalarField & qDot() const
Return access to the joint velocity.
scalar deltaT() const
Return access to the time-step.
friend Istream & operator>>(Istream &, rigidBodyModelState &)
void write(dictionary &dict) const
Write to dictionary.
const scalarField & q() const
Return access to the joint position and orientation.
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Ostream & operator<<(Ostream &, const rigidBody &)
Istream & operator>>(Istream &, rigidBodyInertia &)