Holds the motion state of rigid-body model. More...
Public Member Functions | |
| rigidBodyModelState (const rigidBodyModel &model) | |
| Construct for the given rigidBodyModel. More... | |
| rigidBodyModelState (const rigidBodyModel &model, const dictionary &dict) | |
| Construct from dictionary for the given rigidBodyModel. More... | |
| const scalarField & | q () const |
| Return access to the joint position and orientation. More... | |
| const scalarField & | qDot () const |
| Return access to the joint velocity. More... | |
| const scalarField & | qDdot () const |
| Return access to the joint acceleration. More... | |
| scalar | t () const |
| Return access to the time. More... | |
| scalar | deltaT () const |
| Return access to the time-step. More... | |
| scalarField & | q () |
| Return access to the joint position and orientation. More... | |
| scalarField & | qDot () |
| Return access to the joint velocity. More... | |
| scalarField & | qDdot () |
| Return access to the joint acceleration. More... | |
| scalar & | t () |
| Return access to the time. More... | |
| scalar & | deltaT () |
| Return access to the time-step. More... | |
| void | write (dictionary &dict) const |
| Write to dictionary. More... | |
| void | write (Ostream &) const |
| Write to stream. More... | |
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 27 of file rigidBodyModelState.C.
| rigidBodyModelState | ( | const rigidBodyModel & | model, |
| const dictionary & | dict | ||
| ) |
Construct from dictionary for the given rigidBodyModel.
Definition at line 40 of file rigidBodyModelState.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and rigidBodyModel::nDoF().

|
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 rigidBodyMotion::forwardDynamics(), 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 |
|
friend |