← Back to team overview

yade-users team mailing list archive

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

 

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 rage(len(O.bodies)):
                 position=O.cell.wrapPt(O.bodies[i].state.pos)
Thank you!
feda

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