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

qdd to integrate for accelred

parent 8157ad89
......@@ -392,7 +392,15 @@ void mbs_fct_dirdyn(double tsim, double y[], double dydt[], MbsData *s, MbsAux *
for(i=1;i<=s->nqu;i++)
{
dydt[i-1] = s->qd[s->qu[i]];
dydt[i+s->nqu-1] = s->udd[i];
if (opts->accelred)
{
dydt[i+s->nqu-1] = s->qdd[i];
}
else
{
dydt[i+s->nqu-1] = s->udd[i];
}
}
for(i=1;i<=s->Nux;i++)
{
......
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