← Back to team overview

yade-users team mailing list archive

Re: [Question #690079]: local coordination number

 

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

    Status: Open => Needs information

Jan Stránský requested more information:
Hello,

> for b in O.bodies:
>    ...
>    ball_list1.append(m)
>       for bb in ball_list1:

what is the intention of this? Shouldn't it be

for b in O.bodies:
   ...
      ball_list1.append(m)
for bb in ball_list1:

i.e. first collect relevant bodies in ball_list1 and THEN loop over
them?

cheers
Jan

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