<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Berk.<div>I did look at the code, but it is not that easy to understand.</div><div>My conclusion comes from this:</div><div>for a diffusive regime, G(r) should be a gaussian function, with the diffusion</div><div>coefficient characterizing the width.</div><div>I did some tests, and I could match both curves (one from g_vanhove and&nbsp;</div><div>the other from the diff.coef) only if I multiply&nbsp;the&nbsp;output&nbsp;of&nbsp;g_vanhove&nbsp;by&nbsp;r and normalizing again,&nbsp;which&nbsp;makes&nbsp;little&nbsp;sense&nbsp;to&nbsp;me.</div><div>It&nbsp;would&nbsp;be&nbsp;ok&nbsp;to&nbsp;output&nbsp;G(r)&nbsp;or&nbsp;r^2*G(r),&nbsp;but&nbsp;to&nbsp;output&nbsp;r*G(r)&nbsp;seems&nbsp;a&nbsp;mistake</div><div><br></div><div>Thanks again,</div><div>Marcelo</div><div><br></div><div>PS: I did consider the spherical integration.</div><div><br></div><div><br><div><div>On Aug 4, 2009, at 10:41 AM, Berk Hess wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">Hi,<br><br>You can look at the code yourself :)<br><br>I coded this and -or (which I assume you are talking about)<br>is G with 1/nm as a unit.<br>It gives the probability that a particle has moved a distance r.<br>The 1/nm is the normalization to make the values bin-size independent.<br><br>Might it be that the difference in interpretation comes from if you consider<br>normalization of the volume of sphere-shells or not?<br><br>Berk<br><br>&gt; From:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:cari@purdue.edu">cari@purdue.edu</a><br>&gt; To:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>&gt; Date: Tue, 4 Aug 2009 10:25:33 -0400<br>&gt; Subject: [gmx-users] g_vanhove output<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; Hi all,<br>&gt; I believe there is a mistake in g_vanhove in version 4.0.5<br>&gt; The 'xvg' output file labels the y axis as G, with nm^-1 as units.<br>&gt; From the units, I guessed that the output was actually r^2 G, however<br>&gt; the initial slope is linear and not quadratic. After a few tries I<span class="Apple-converted-space">&nbsp;</span><br>&gt; concluded that<br>&gt; the output is actually r*G, which is not something really useful.<br>&gt; I wonder if someone could look at the code and confirm this doubt in<br>&gt; one way or another.<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; Many thank,<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; Marcelo Carignano.<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; PS: I couldn't find this on the list, but it has been difficult to<span class="Apple-converted-space">&nbsp;</span><br>&gt; access the<br>&gt; archives lately.<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list<span class="Apple-converted-space">&nbsp;</span><a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt; Please search the archive at<span class="Apple-converted-space">&nbsp;</span><a href="http://www.gromacs.org/search">http://www.gromacs.org/search</a><span class="Apple-converted-space">&nbsp;</span>before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the<span class="Apple-converted-space">&nbsp;</span><br>&gt; www interface or send it to<span class="Apple-converted-space">&nbsp;</span><a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>&gt; Can't post? Read<span class="Apple-converted-space">&nbsp;</span><a href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a><br><br><hr>See all the ways you can stay connected<span class="Apple-converted-space">&nbsp;</span><a href="http://www.microsoft.com/windows/windowslive/default.aspx" target="_new">to friends and family</a><span class="Apple-converted-space">&nbsp;</span>_______________________________________________<br>gmx-users mailing list &nbsp;&nbsp;&nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at<span class="Apple-converted-space">&nbsp;</span><a href="http://www.gromacs.org/search">http://www.gromacs.org/search</a><span class="Apple-converted-space">&nbsp;</span>before posting!<br>Please don't post (un)subscribe requests to the list. Use the<span class="Apple-converted-space">&nbsp;</span><br>www interface or send it to<span class="Apple-converted-space">&nbsp;</span><a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read<span class="Apple-converted-space">&nbsp;</span><a href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a></div></span></blockquote></div><br></div></body></html>