MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / initialize

Function initialize

src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.C:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
31
32void 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 * * * * * * * * * * * * * * //

Callers 1

rigidBodyMotion.CFile · 0.70

Calls 2

rigidBodyModelStateClass · 0.50

Tested by

no test coverage detected