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

2016-10-21 Thread Bruno Chareyre
Question #403204 on Yade changed: https://answers.launchpad.net/yade/+question/403204 Status: Open => Answered Bruno Chareyre proposed the following answer: PBC are a bit complicated to explain. Please make sure to read the documentation on PBC and if something is still not clear be specific

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

2016-10-21 Thread feda
Question #403204 on Yade changed: https://answers.launchpad.net/yade/+question/403204 Status: Answered => Open feda is still having a problem: Hi, Thank you for your response, but I didn't fully understand what you mentioned in 2) if you could explain that to me it would be appreciated. I

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

2016-10-20 Thread Bruno Chareyre
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

[Yade-users] [Question #403204]: position of spheres in periodic cell

2016-10-20 Thread feda
New question #403204 on Yade: https://answers.launchpad.net/yade/+question/403204 Hello, how can i get the position of spheres after an isotropic compression in periodic cell ? what is the difference between: 1) for i in rage(len(O.bodies)): position=O.bodies[i].state.pos and 2)for i in