yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #22267
Re: [Question #688837]: calculate the mass of the particles
Question #688837 on Yade changed:
https://answers.launchpad.net/yade/+question/688837
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
1.
as the error says, isBodyInCylinder () takes exactly 3 arguments, but you gave 0 arguments..
3 arguments = 3 values inside "calling" brackets.
solution:
isBodyInCylinder is just an auxiliary function for masses() function, just do not call it from PyRunner (delete that PyRunner from the O.engines)
2.
I guess yes for this case. If to use iterPeriod, virtPeriod or realPeriod depends always on specific context.
3.
see above, it is always different. If a specific value is sufficient, it is easy to test.
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.