This header defines global functions for Euler Implicit integrator in C. More...
#include "mbs_data.h"
#include "integrator.h"
#include "mbs_dirdyn.h"
#include "useful_functions.h"
#include "mbs_dirdyn_struct.h"
#include "mbs_project_interface.h"
#include "MBSfun.h"
#include "nrfct.h"
Go to the source code of this file.
Classes | |
struct | MbsDirdynEulerIm |
Euler Implicit structure for dirdyn. More... | |
Functions | |
void | initialize_euler_implicit (MbsData *mbs_data, MbsDirdyn *mbs_dd) |
Initialize all needed fields in MbsDirdyn for Euler Implicit integrator. More... | |
int | loop_euler_implicit (double t0, double tf, MbsData *mbs_data, MbsDirdyn *mbs_dd) |
Integrate the motion from t0 to tf. More... | |
void | finish_euler_implicit (MbsData *mbs_data, MbsDirdyn *mbs_dd) |
Finalize and clear memory allocated for Euler Implicit integrator. More... | |
void | error_euler_implicit (MbsData *mbs_data, MbsDirdyn *dd, int err) |
If an error occurs during time integration, this function prints the error message and call finish_euler_implicit. More... | |
This header defines global functions for Euler Implicit integrator in C.
Creation date: April 2018
@source adapted from 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_euler_implicit.
mbs_data | The computed MBS structure |
mbs_dd | The associated MbsDirdyn structure |
err | The error number |
Finalize and clear memory allocated for Euler Implicit 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