← Back to team overview

yade-users team mailing list archive

Re: [Question #556907]: Apply cohesive interaction on JCFpmMat

 

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

Jérôme Duriez proposed the following answer:
Hi,

I would be surprised this is a working script as requested by Luc...
See the typo "checker.ietrPeriod = 1" in set_friction() definition..

Note also that it's kind of sad to use loops (in the set_interaction() definition) to count interactions in Yade (or elements of any Python list, from a more general point of view).
We fortunately have built-in functions for such purpose:
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.InteractionContainer.countReal

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