<p>Hi Shikha,</p>
<p>Have a look at g_traj -ox -com</p>
<p>Cheers,</p>
<p>Tsjerk</p>
<p><blockquote type="cite">On Aug 26, 2011 6:46 PM, &quot;shikha nangia&quot; &lt;<a href="mailto:nshikha@yahoo.com">nshikha@yahoo.com</a>&gt; wrote:<br><br><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt">
<font color="#ff0000"><span style="color:rgb(0, 0, 0)">Hi all:</span><br style="color:rgb(0, 0, 0)"><br style="color:rgb(0, 0, 0)"><span style="color:rgb(0, 0, 0)">I have a multiconponent system and for each component I wish to know the center of mass (COM) coordinates. I know that </span><br style="color:rgb(0, 0, 0)">
<span style="color:rgb(0, 0, 0)">g_dist can give me the distances between the center of masses, but I do not want only the distances, I and interested in the </span><br style="color:rgb(0, 0, 0)"><span style="color:rgb(0, 0, 0)">x y and z coordinates as well.</span><br style="color:rgb(0, 0, 0)">
<br style="color:rgb(0, 0, 0)"><span style="color:rgb(0, 0, 0)">Could anyone please direct me to a gromacs utility or option that can help me achieve this? I looked in the manual but could
 not</span><br style="color:rgb(0, 0, 0)"><span style="color:rgb(0, 0, 0)">find my answer.</span><br style="color:rgb(0, 0, 0)"><br style="color:rgb(0, 0, 0)"><span style="color:rgb(0, 0, 0)">Thanks,</span><br style="color:rgb(0, 0, 0)">
<font color="#888888"><span style="color:rgb(0, 0, 0)">SN</span><br></font></font></div></div><br>--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></blockquote></p>