Commit 203d3015 authored by Olivier Lantsoght's avatar Olivier Lantsoght 🏁
Browse files

Merge branch 'dev' into documentation

parents 81551e6c 125b4f98
......@@ -26,6 +26,8 @@
#define DOPRI5_NB_ALLOC_VEC 8 ///< number of vectors to allocate for dopri5
#define MAX_NB_BUFFER (4 + 2 + 3 + 1) // maximal number of buffer 4 for generic, 2 for user states, 3 for links (real number depends on the model)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
MbsDirdyn* mbs_new_dirdyn(MbsData* mbs_data)
......@@ -247,12 +249,10 @@ void mbs_dirdyn_init(MbsDirdyn* dd, MbsData* mbs_data)
int bufId, njoint, Nux, Nlink, nqc;
char* f;
char* f_anim;
int max_nb_buffer = 4 + 2 + 3 + 1; // maximal number of buffer 4 for generic, 2 for user states, 3 for links (real number depends on the model)
char * fnameSuffix[max_nb_buffer];
int bufferIDs[max_nb_buffer];
int bufElemNb[max_nb_buffer];
char * fnameSuffix[MAX_NB_BUFFER];
int bufferIDs[MAX_NB_BUFFER];
int bufElemNb[MAX_NB_BUFFER];
njoint = mbs_data->njoint;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment