<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body bgcolor="#FFFFFF" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear Dr.&nbsp;<span style="font-size: small;">Feenstra K.A</span>
<div><font size="2"><br>
</font></div>
<div><font size="2">Thank you very much for your response.</font></div>
<div><br>
</div>
<div><font size="2">What I'm trying to achieve is explained at:</font></div>
<div><a href="http://arxiv.org/abs/1307.1620" target="_blank">http://arxiv.org/abs/1307.1620</a></div>
<div><br>
</div>
<div>In short, if it is combined with multiplication by lambda=[0,1] it is supposed to come instead of the chance in the VDW and electric potential that is associated with &quot;annihilation&quot;. If Ec will have value of around 7kCal/mole I think that it should have
 negligible effect on the free energy at lambda=1.</div>
<div><br>
</div>
<div>Do you know if it is explained in the manual also how to multiply VDW and electric forces (<span style="font-size: 10pt;">that are associated with certian atoms)</span><span style="font-size: 10pt;">&nbsp;by a const ?</span></div>
<div><br>
</div>
<div>Thanks again,</div>
<div>Best regards,</div>
<div>Asaf</div>
<div><br>
</div>
<div><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF585952" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> gmx-developers-bounces@gromacs.org [gmx-developers-bounces@gromacs.org] on behalf of Feenstra, K.A. [k.a.feenstra@vu.nl]<br>
<b>Sent:</b> Friday, August 30, 2013 10:02 AM<br>
<b>To:</b> Discussion list for GROMACS development<br>
<b>Cc:</b> Discussion list for GROMACS development<br>
<b>Subject:</b> Re: [gmx-developers] editing the code of the VDW and electric potentials and forces<br>
</font><br>
</div>
<div></div>
<div>
<div>Op 30 aug. 2013 om 08:49 heeft &quot;Asaf Farhi&quot; &lt;<a href="mailto:asaf.farhi@weizmann.ac.il" target="_blank">asaf.farhi@weizmann.ac.il</a>&gt; het volgende geschreven:<br>
</div>
<div><br>
</div>
<div></div>
<blockquote type="cite">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Dear GROMACS Developers
<div><br>
</div>
<div><span style="font-family:monospace; font-size:16px">My name is Asaf.</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">I'm trying to implement a novel free energy calculation method and interested to do a very minor code change.</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">I will really appreciate help on this issue.</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">What I'm trying to implement in GROMACS is very simple. It's actually only one if statement that is relevant to the VDW and Electric energies and forces.</span><br style="font-family:monospace; font-size:16px">
<br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">What is needed is to add for every calculation of energy and force:</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">If (E_VDW&gt;Ec)</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">{</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">E_VDW=Ec;</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">f_VDW=0;</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">}</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">If (E_EL&gt;Ec)</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">{</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">E_el=Ec;</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">f_el=0;</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">}</span><br style="font-family:monospace; font-size:16px">
<br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">where E_VDW is the energy associated with the pair VDW interaction, f_VDW is the force associated with the pair VDW potential and Ec is a constant.</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">In addition I need to multiply specific VDW and electrical forces by a const (that are associated with certain atoms).</span></div>
<div><br>
</div>
<div>Could anyone advise me how to do this code change?<br style="font-family:monospace; font-size:16px">
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>If I understand what you want to do, i.e. a fixed upper limit to the energies, than you could do that easily, without touching the code, bu using interaction tables. You will find how in the manual.</div>
<div><br>
</div>
<div>What you haven't explained is what you want to achieve.&nbsp;</div>
<div><br>
</div>
<div>The setup you describe will give an unphysical discontinuity in the forces, which will give rise to some strange artifacts in your simulations for sure. I expect these may be similar, in type and severity, to those associated with the simple interaction
 cut-off schemes. Using that as a basis for '<span class="Apple-style-span" style="font-family: monospace;">a novel free energy calculation method'</span><span class="Apple-style-span" style="">&nbsp;seems rather unlikely to produce valid results.</span></div>
<div><span class="Apple-style-span" style=""><br>
</span></div>
<blockquote type="cite">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">Thanks in advance,</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">Best regards,</span><br style="font-family:monospace; font-size:16px">
<span style="font-family:monospace; font-size:16px">Asaf</span><br style="font-family:monospace; font-size:16px">
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>-- </span><br>
<span>gmx-developers mailing list</span><br>
<span><a href="mailto:gmx-developers@gromacs.org" target="_blank">gmx-developers@gromacs.org</a></span><br>
<span><a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a></span><br>
<span>Please don't post (un)subscribe requests to the list. Use the </span><br>
<span>www interface or send it to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">
gmx-developers-request@gromacs.org</a>.</span></div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>