<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<div><br></div><div>Mark</div></div><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 class="im"><br>
On 02 Feb 2014, at 20:11, Mark Abraham &lt;<a href="mailto:mark.j.abraham@gmail.com">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 class="HOEnZb"><div class="h5"><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">gmx-developers-request@gromacs.org</a>.<br>

</div></div></blockquote></div><br></div>