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