<div dir="ltr"><div>Dear Mark and Erik,<br><br></div><div>Just a quick note to say thanks a lot for your advice. I was able to get a much clearer picture of the internals of gromacs, because of it.<br><br></div><div>Best regards,<br>
<br></div><div>James<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 February 2014 10:28, Mark Abraham <span dir="ltr">&lt;<a href="mailto:mark.j.abraham@gmail.com" target="_blank">mark.j.abraham@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yeah, that&#39;s what I meant. Multiply thing by -1 or take some other thing to the power -1, it&#39;s all the same right? :-P<span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Mark</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Feb 2, 2014 at 8:51 PM, Erik Lindahl <span dir="ltr">&lt;<a href="mailto:erik.lindahl@scilifelab.se" target="_blank">erik.lindahl@scilifelab.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<div><br>
On 02 Feb 2014, at 20:11, Mark Abraham &lt;<a href="mailto:mark.j.abraham@gmail.com" target="_blank">mark.j.abraham@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Do take care - components of fscal are not actually the scalar force, but the negative of it (because mostly it saves a flop).<br>
<br>
</div>For the record, it can be even worse than this. In many (most) places we need to multply the force with the interparticle vector to get the vectorial force. However, it would be expensive (and stupid) computationall to normalize this vector when we already have 1/r available. Thus, fscal is often the scalar force *divided by r*, so we can then multiply it by the non-normalized interparticle vector.<br>


<div><div><br>
Cheers,<br>
<br>
Erik<br>
<br>
--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<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>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.<br>


</div></div></blockquote></div><br></div>
</div></div><br>--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<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>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
</blockquote></div><br></div>