← Back to team overview

yade-users team mailing list archive

Re: [Question #667289]: Generation of sphere packing using CohFrictMat model

 

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

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

Python indexing starts with 0, and you thus have to write

O.engines[2].lawDispatcher.functors[0].always_use_moment_law = True

to access the Law2 you want to modify (which is the only one available)


We eventually are quite far from a CohFrictMat related question ;-)

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