← Back to team overview

yade-users team mailing list archive

Re: [Question #403204]: position of spheres in periodic cell

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
1) gives the absolute position as it is memory, it can be anywhere in unbounded infinite 3D space
2) gives for each particle its image particle in the reference period, so that all the wraped positions are close to each other (merely what you see in the 3D view)

Note that your loops are odd, they result in
position=O.bodies[-1].state.pos #without loop

Bruno

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