This header defines global functions for custom integrator in C. Advanced user can modify this file. More...
#include "mbs_project_interface.h"Go to the source code of this file.
Classes | |
| struct | MbsDirdynCustom |
| Custom integrator structure for dirdyn. More... | |
Functions | |
| void | initialize_custom (MbsData *mbs_data, MbsDirdyn *mbs_dd, int(*derivs)(double, double[], double[], MbsData *, MbsDirdyn *), void(*loop_fct)(MbsData *, MbsDirdyn *), int(*save_realtime_update)(MbsDirdyn *dd, MbsData *mbs_data)) |
| Initialize all needed fields in MbsDirdyn for Custom integrator. More... | |
| int | loop_custom (double t0, double tf, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| Integrate the motion from t0 to tf with a custom integrator implemented by the user. More... | |
| void | finish_custom (MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| Finalize and clear memory allocated for Custom integrator. More... | |
| void | error_custom (MbsData *mbs_data, MbsDirdyn *dd, int err) |
| If an error occurs during time integration, this function prints the error message and call finish_custom. More... | |
This header defines global functions for custom integrator in C. Advanced user can modify this file.
Creation date: May 2018
(c) Universite catholique de Louvain
If an error occurs during time integration, this function prints the error message and call finish_custom.
| mbs_data | The computed MBS structure |
| mbs_dd | The associated MbsDirdyn structure |
| err | The error number |
Finalize and clear memory allocated for Custom integrator.
| mbs_data | The computed MBS structure |
| mbs_dd | The associated MbsDirdyn structure |
Integrate the motion from t0 to tf with a custom integrator implemented by the user.
| t0 | The initial time |
| tf | The final time |
| mbs_data | The computed MBS structure |
| mbs_dd | The associated MbsDirdyn structure |
user loop
user loop
1.8.17