This file implements the functions of the W Methods implicit integration method in C. Equivalent to Implicit Euler with two (or more) stages. More...
Functions | |
void | initialize_w_methods (MbsData *mbs_data, MbsDirdyn *mbs_dd) |
Initialize all needed fields in MbsDirdyn for W Methods integrator. More... | |
int | loop_w_methods (double t0, double tf, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
Integrate the motion from t0 to tf. More... | |
void | finish_w_methods (MbsData *mbs_data, MbsDirdyn *dd) |
Finalize and clear memory allocated for W Methods integrator. More... | |
void | error_w_methods (MbsData *mbs_data, MbsDirdyn *dd, int err) |
If an error occurs during time integration, this function prints the error message and call finish_w_methods. More... | |
This file implements the functions of the W Methods implicit integration method in C. Equivalent to Implicit Euler with two (or more) stages.
Creation date: April 2018
@source Arnold M. et al, Linearly implicit time integration methods in real-time applications: DAEs and stiff ODEs Multibody System Dynamics, 2007, 17:99â117
(c) Universite catholique de Louvain
If an error occurs during time integration, this function prints the error message and call finish_w_methods.
mbs_data | The computed MBS structure |
mbs_dd | The associated MbsDirdyn structure |
err | The error number |
Finalize and clear memory allocated for W Methods integrator.
mbs_data | The computed MBS structure |
mbs_dd | The associated MbsDirdyn structure |
Integrate the motion from t0 to tf.
t0 | The initial time |
tf | The final time |
mbs_data | The computed MBS structure |
mbs_dd | The associated MbsDirdyn structure |
user loop
user loop