Commit ca8e1983 authored by Nicolas Van der Noot's avatar Nicolas Van der Noot
Browse files

udd replaced by qddu

parent 436c9a53
......@@ -32,7 +32,7 @@ int mbs_accelred(MbsData *s, double tsim)
#define NR_ERR 1.0e-20
double *q, *qd, *qdd, *udd, *Qq;
double *q, *qd, *qdd, *qddu, *Qq;
double *lrod;
......@@ -46,7 +46,7 @@ int iter = 0;
q = s->q;
qd = s->qd;
qdd = s->qdd;
udd = s->udd;
qddu = s->qddu;
Qq = s->Qq;
dpt = s->dpt;
......@@ -282,9 +282,9 @@ if(iter > MAX_NR_ITER) return(-1);
// Symbolic Output number 2
udd[1] = qppux1;
udd[2] = qppux2;
udd[3] = qppux3;
qddu[1] = qppux1;
qddu[2] = qppux2;
qddu[3] = qppux3;
// Symbolic Output number 3
......
......@@ -63,7 +63,7 @@ void mbs_link3D(double **frc,double **trq, MbsData *s, double tsim);
void mbs_extforces(double **frc, double **trq, MbsData *s, double tsim);
int mbs_accelred(double *qddu,MbsData *s, double tsim);
int mbs_accelred(MbsData *s, double tsim);
void mbs_gensensor(MbsSensor *sens,
MbsData *s,
......
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