This header defines global functions for Euler Explicit integrator in C. More...
#include "mbs_project_interface.h"Go to the source code of this file.
Classes | |
| struct | MbsDirdynEulerEx |
| Euler Explicit structure for dirdyn. More... | |
Macros | |
| #define | P_INF_VALUE 0.143 |
Typedefs | |
| typedef void(* | euler_integrator_implementation) (double h, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| This pointer is used to choose between the two implementations of euler. More... | |
Functions | |
| void | initialize_eulerEx (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 Euler Explicit integrator. More... | |
| int | loop_eulerEx (double t0, double tf, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| Integrate the motion from t0 to tf. More... | |
| void | finish_eulerEx (MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| Finalize and clear memory allocated for Euler Explicit integrator. More... | |
| void | euler_explicit (double h, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| Source code for the Euler Explicit integration. More... | |
| void | eulaire (double h, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| Source code for unknown integrator but based partially on euler explicit We call it Eulaire. More... | |
| void | alpha_method (double h, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
| Source code for a simplified alpha-method We call it AlphaM. More... | |
| void | error_eulerEx (MbsData *mbs_data, MbsDirdyn *dd, int err) |
| If an error occurs during time integration, this function prints the error message and call finish_eulerEx. More... | |
This header defines global functions for Euler Explicit integrator in C.
Creation date: May 2018
(c) Universite catholique de Louvain
| #define P_INF_VALUE 0.143 |
This pointer is used to choose between the two implementations of euler.
Source code for a simplified alpha-method We call it AlphaM.
Reference : Chen, Qiong-zhong and Acary, Vincent and Virlez, Geoffrey and Bruls, Olivier. (2013). A nonsmooth generalized-alpha scheme for flexible multibody systems with unilateral constraints. International Journal for Numerical Methods in Engineering. 96. 487-511. 10.1002/nme.4563.
| h | The integration step size |
| mbs_data | The computed MBS structure |
| mbs_dd | The associated MbsDirdyn structure |
If an error occurs during time integration, this function prints the error message and call finish_eulerEx.
| mbs_data | The computed MBS structure |
| mbs_dd | The associated MbsDirdyn structure |
| err | The error number |
Source code for unknown integrator but based partially on euler explicit We call it Eulaire.
| h | The integration step size |
| mbs_data | The computed MBS structure |
| mbs_dd | The associated MbsDirdyn structure |
Source code for the Euler Explicit integration.
| h | The integration step size |
| mbs_data | The computed MBS structure |
| mbs_dd | The associated MbsDirdyn structure |
Finalize and clear memory allocated for Euler Explicit 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
1.8.17