yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #10863
Re: [Question #261779]: Contact law: issue if fragile=False and unpMax=0
Question #261779 on Yade changed:
https://answers.launchpad.net/yade/+question/261779
Status: Open => Answered
Bruno Chareyre proposed the following answer:
As discussed:
replace in the first test:
if (phys->unpMax!=0 && ...) by
if (phys->unpMax>=0 && ...)
Don't forget to make the default negative (e.g. -1), if it is currently
0.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.