Holds the motion state of rigid-body model. More...
#include <rigidBodyModelState.H>
Public Member Functions | |
| rigidBodyModelState (const rigidBodyModel &model) | |
| Construct for the given rigidBodyModel. | |
| rigidBodyModelState (const rigidBodyModel &model, const dictionary &dict) | |
| Construct from dictionary for the given rigidBodyModel. | |
| const scalarField & | q () const |
| Return access to the joint position and orientation. | |
| const scalarField & | qDot () const |
| Return access to the joint velocity. | |
| const scalarField & | qDdot () const |
| Return access to the joint acceleration. | |
| scalar | t () const |
| Return access to the time. | |
| scalar | deltaT () const |
| Return access to the time-step. | |
| scalarField & | q () |
| Return access to the joint position and orientation. | |
| scalarField & | qDot () |
| Return access to the joint velocity. | |
| scalarField & | qDdot () |
| Return access to the joint acceleration. | |
| scalar & | t () |
| Return access to the time. | |
| scalar & | deltaT () |
| Return access to the time-step. | |
| void | write (dictionary &dict) const |
| Write to dictionary. | |
| void | write (Ostream &) const |
| Write to stream. | |
Friends | |
| Istream & | operator>> (Istream &, rigidBodyModelState &) |
| Ostream & | operator<< (Ostream &, const rigidBodyModelState &) |
Holds the motion state of rigid-body model.
Definition at line 58 of file rigidBodyModelState.H.
| rigidBodyModelState | ( | const rigidBodyModel & | model | ) |
Construct for the given rigidBodyModel.
Definition at line 26 of file rigidBodyModelState.C.
References Foam::Zero.
Referenced by operator<<, and operator>>.

| rigidBodyModelState | ( | const rigidBodyModel & | model, |
| const dictionary & | dict ) |
Construct from dictionary for the given rigidBodyModel.
Definition at line 39 of file rigidBodyModelState.C.
References dict, rigidBodyModel::nDoF(), and Foam::Zero.

|
inline |
Return access to the joint position and orientation.
Definition at line 23 of file rigidBodyModelStateI.H.
Referenced by rigidBodyModel::forwardDynamics(), and rigidBodyModel::forwardDynamicsCorrection().

|
inline |
Return access to the joint velocity.
Definition at line 29 of file rigidBodyModelStateI.H.
Referenced by rigidBodyModel::forwardDynamics(), and rigidBodyModel::forwardDynamicsCorrection().

|
inline |
Return access to the joint acceleration.
Definition at line 35 of file rigidBodyModelStateI.H.
Referenced by rigidBodyModel::forwardDynamics(), and rigidBodyModel::forwardDynamicsCorrection().

|
inline |
Return access to the time.
Definition at line 41 of file rigidBodyModelStateI.H.
Referenced by externalForce::restrain().

|
inline |
Return access to the time-step.
Definition at line 47 of file rigidBodyModelStateI.H.
|
inline |
Return access to the joint position and orientation.
Definition at line 53 of file rigidBodyModelStateI.H.
|
inline |
Return access to the joint velocity.
Definition at line 59 of file rigidBodyModelStateI.H.
|
inline |
Return access to the joint acceleration.
Definition at line 65 of file rigidBodyModelStateI.H.
|
inline |
Return access to the time.
Definition at line 77 of file rigidBodyModelStateI.H.
|
inline |
Return access to the time-step.
Definition at line 71 of file rigidBodyModelStateI.H.
| void write | ( | dictionary & | dict | ) | const |
| void write | ( | Ostream & | os | ) | const |
Write to stream.
Definition at line 36 of file rigidBodyModelStateIO.C.
References os().

|
friend |
References rigidBodyModelState().
|
friend |
References rigidBodyModelState().