Question #290129 on Yade changed:
https://answers.launchpad.net/yade/+question/290129

Bruno Chareyre posted a new comment:
Ok, my mistake. For some reason my local branch has a line very similar
to what Luc suggests (hence I was not seing the problem) but it has
never been pushed to trunk, I never realized that. I will commit.

Bruno

if (wall_bottom_activated) {
                        if (stressMask & 2)  controlExternalStress(wall_bottom, 
wallForce, p_bottom, max_vel2);
                        else {
                                p_bottom->vel[1] += 
(-normal[wall_bottom][1]*0.5*goal2*height -p_bottom->vel[1])*(1-strainDamping);
                                externalWork += 
p_bottom->vel.dot(getForce(scene,wall_bottom_id))*scene->dt;}

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to