This file implements the functions of the semi-implicit integration method and polynomial extrapolation in C. Based on the work of Bader and Deuflhard. More...
Functions | |
void | initialize_bader (MbsData *mbs_data, MbsDirdyn *mbs_dd) |
Initialize all needed fields in MbsDirdyn for Bader integrator. More... | |
int | loop_bader (double t0, double tf, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
Integrate the motion from t0 to tf. More... | |
void | finish_bader (MbsData *mbs_data, MbsDirdyn *dd) |
Finalize and clear memory allocated for Bader integrator. More... | |
void | error_bader (MbsData *mbs_data, MbsDirdyn *dd, int err) |
If an error occurs during time integration, this function prints the error message and call finish_bader. More... | |
This file implements the functions of the semi-implicit integration method and polynomial extrapolation in C. Based on the work of Bader and Deuflhard.
Creation date: April 2018
\source Bader, G., and Deuflhard, A semi-implicit mid-point rule for stiff systems of ordinary differential equations, P. 1983, Numerische Mathematik, vol. 41, pp. 373â398.
(c) Universite catholique de Louvain
If an error occurs during time integration, this function prints the error message and call finish_bader.
mbs_data | The computed MBS structure |
mbs_dd | The associated MbsDirdyn structure |
err | The error number |
Finalize and clear memory allocated for Bader 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