| 30 | // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // |
| 31 | |
| 32 | void Foam::RBD::rigidBodyMotion::initialize() |
| 33 | { |
| 34 | // Calculate the initial body-state |
| 35 | forwardDynamicsCorrection(rigidBodyModelState(*this)); |
| 36 | X00_ = X0_; |
| 37 | |
| 38 | // Update the body-state to correspond to the current joint-state |
| 39 | forwardDynamicsCorrection(motionState_); |
| 40 | } |
| 41 | |
| 42 | |
| 43 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected