Commit fb2d5071 authored by Nathan Coppin's avatar Nathan Coppin
Browse files

bug in part part ctct

parent c818479c
Pipeline #9306 failed with stages
in 2 minutes and 22 seconds
......@@ -544,7 +544,7 @@ static void contact_apply(const Contact *c, ParticleProblem *p) {
result[0] = (c->dv[0]/wnn)*c->basis[0][0] + (c->dv[1]/wtt)*c->basis[1][0];
result[1] = (c->dv[0]/wnn)*c->basis[0][1] + (c->dv[1]/wtt)*c->basis[1][1];
if(omega0)
omega0[0] += c->iinertmom0*(result[0]*c->r0[1] - result[1]*c->r0[0]);
omega0[0] -= c->iinertmom0*(result[0]*c->r0[1] - result[1]*c->r0[0]);
omega1[0] -= c->iinertmom1*(result[0]*c->r1[1] - result[1]*c->r1[0]);
#else
//TODO
......
Markdown is supported
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