yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06945
[Question #218831]: find the center of a clump
New question #218831 on Yade:
https://answers.launchpad.net/yade/+question/218831
Hi,
I want to find the centers of clumps.
for b in O.bodies:
if (b.isClump):
id_member1 = b.shape.members.keys()[0]
vec_dist = O.bodies[id_member1].state.pos + O.bodies[id_member1].state.refPos
Is this right?
Or do I have to subtract refPos instead of adding it?
Christian.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.