the center of mass distance between two selected atom sets - 10/26/05 06:40 PM

hi, I want to calculate the distance of the center of mass between two selected atom sets.

I try

coor distance sele segid 1 end sele segid 2 end. but it gives all distance between these two atom sets. I only need the center of mass of these two selections. anybody can give me a hint?

thanks in advance.

I try

coor distance sele segid 1 end sele segid 2 end. but it gives all distance between these two atom sets. I only need the center of mass of these two selections. anybody can give me a hint?

thanks in advance.