Hello David,<br>
Then why are the files 11.xvg and 111.xvg same as first half of 1.xvg
and the second half of 1.xvg respectively, in other words the total
dipole moment of the frames for the whole trajectory is same as when
calculated separately for the first and second halves and concatenated,
but not the dipole plus fluctuations...........(22.xvg and 222.xvg are
different compared to 2.xvg)...<br>
Thanks,<br>
<br><br><div><span class="gmail_quote">On 11/9/05, <b class="gmail_sendername">David</b> &lt;<a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 2005-11-09 at 14:38 -0500, Viswanadham Sridhara wrote:<br>&gt; Hello Everyone,<br>&gt; Can anyone explain me how g_dipoles exactly work?<br>&gt; I am just briefly explaining what I did.<br>&gt; a) I took the whole trajectory and tried to find dipole moment, --
<br>&gt; &gt;full.xvg (This is with option -o)<br>&gt; b)then i divided the whole trajectory into two parts and tried to find<br>&gt; the dipole moment, first half--&gt;fh.xvg and second half sh.xvg.<br>&gt; Obviously fh.xvg
 and sh.xvg combined is equal to full.xvg.<br>&gt;<br>&gt; But, when i use option -a in g_dipoles, and tried to find &lt;Mu&gt;^2 -<br>&gt; &lt;Mu^2&gt; for the whole trajectory, the n umbers I found are different<br>&gt; for the trajectory when divided into two parts.
<br>&gt;<br>&gt; -------------------<br>&gt; g_dipoles -f full.gro -s dppc.tpr -o 1 -a 2 -mu 2.273 -mumax 5.0 -<br>&gt; epsilonRF 78.5<br>&gt; g_dipoles -f firsthalf.gro -s dppc.tpr -o 11 -a 22 -mu 2.273 -mumax<br>&gt; 5.0
 -epsilonRF 78.5<br>&gt; g_dipoles -f secondhalf.gro -s dppc.tpr -o 111 -a 222 -mu 2.273 -mumax<br>&gt; 5.0 -epsilonRF 78.5<br>&gt; -------------------------------------<br>&gt;<br>&gt; In other words,&nbsp;&nbsp;concatenating 11 and 111 gives me 
1.xvg, but not with<br>&gt; 22 and 222......<br>&gt; How does Gromacs calculate &lt;Mu&gt;^2 and &lt;Mu^2&gt;......<br>Mu = Sum q R<br>where Mu and R are vectors.<br><br>Obviously if you compare two single coordinate files the results will be
<br>different.<br><br>&gt; Thanks in advance,<br>&gt; Viswam.<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Viswanadham Sridhara,<br>&gt; Graduate Research Assistant,<br>&gt; Old Dominion University, &quot;VIRGINIA&quot;.<br>
&gt; _______________________________________________<br>&gt; gmx-users mailing list<br>&gt; <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>&gt; <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">
http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org
</a>.<br>--<br>David.<br>________________________________________________________________________<br>David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,<br>Dept. of Cell and Molecular Biology, Uppsala University.
<br>Husargatan 3, Box 596,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;75124 Uppsala, Sweden<br>phone:&nbsp;&nbsp;46 18 471 4205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fax: 46 18 511 755<br><a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:spoel@gromacs.org">spoel@gromacs.org
</a>&nbsp;&nbsp; <a href="http://xray.bmc.uu.se/~spoel">http://xray.bmc.uu.se/~spoel</a><br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br><br>_______________________________________________<br>gmx-users mailing list
<br><a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please don'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></blockquote></div><br><br clear="all"><br>-- <br>Viswanadham Sridhara,<br>Graduate Research Assistant,<br>
Old Dominion University, &quot;VIRGINIA&quot;.<br>