[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] Restraints and Hierarchy




On Jan 26, 2009, at 10:09 AM, Ben Webb wrote:

Keren Lasker wrote:
but do you mean  to keep each gravity
center particle at the center of mass of its CHILDREN particles.
?

The gravity center ScoreState simply keeps a list of particles and
positions itself at the center of gravity of those particles. Whether
you think of the particles in that list as children or parents is a
matter of your viewpoint, I suppose.
I think I had only replied to Keren before. There is an example which does more or less what she wanted to do (in simple examples).