<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Berk,<br>
<br>
Thanks for the link to discussion related to the same topic. It was
really helpful in understanding the details of implementation and what
options are suitable.<br>
<br>
What I meant by shifting the potential was that the potential is
changed from the original form. From gromacs manual,<br>
<br>
"There is no fundamental difference between a switch function (which
multiplies the potential with<br>
a function) and a shift function (which adds a function to the force or
potential)"<br>
<br>
Thanks,<br>
Jeetain<br>
<br>
Berk Hess wrote:
<blockquote cite="mid:BLU134-W33C261523260B94BC2BA068E850@phx.gbl"
 type="cite">
  <style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
  </style>
  <div style="text-align: left;">Hi,<br>
  <br>
PME-switch does not shift, it only switches.<br>
It does not make sense to use plain PME with a cut-off,<br>
but also this in impossible with the way the Gromacs innerloops work.<br>
For a detailed (and long) discussion on this topic see:<br>
<a class="moz-txt-link-freetext" href="http://bugzilla.gromacs.org/show_bug.cgi?id=196">http://bugzilla.gromacs.org/show_bug.cgi?id=196</a><br>
  </div>
  <br>
Berk.<br>
  <br>
  <br>
  <hr id="EC_stopSpelling">From: <a class="moz-txt-link-abbreviated" href="mailto:jeetain@gmail.com">jeetain@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
Date: Mon, 21 Jul 2008 16:00:26 -0400<br>
Subject: [gmx-users] How to modify code so that rlist &gt; rcoulomb<br>
  <br>
Hi Berk,
  <div><br>
  </div>
  <div>Thanks for your response. I am trying to simulate the following
options,</div>
  <div><br>
  </div>
  <div>
  <div>ns_type &nbsp; &nbsp; &nbsp; &nbsp; = grid</div>
  <div>rlist &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3.2</div>
  <div>coulombtype = pme</div>
  <div>rcoulomb &nbsp; &nbsp; &nbsp; = 1.0</div>
  <div>vdw-type &nbsp; &nbsp; &nbsp; &nbsp;= cut-off</div>
  <div>rvdw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3.0</div>
  <div>fourierspacing &nbsp;= 0.12</div>
  <div>pme_order &nbsp; &nbsp; &nbsp; = 4</div>
  <div>ewald_rtol &nbsp; &nbsp; &nbsp;= 1e-5</div>
  <div>optimize_fft &nbsp; &nbsp;= yes</div>
  <div><br>
  </div>
  <div>I tried the following with gromacs&nbsp;3.3.99_development_200800503,</div>
  <div><br>
  </div>
  <div>
  <div>ns_type &nbsp; &nbsp; &nbsp; &nbsp; = grid</div>
  <div>rlist &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3.2</div>
  <div>coulombtype = pme-switch</div>
  <div>rcoulomb &nbsp; &nbsp; &nbsp; = 1.0</div>
  <div>rcoulomb_switch = 0.0</div>
  <div>vdw-type &nbsp; &nbsp; &nbsp; &nbsp;= shift</div>
  <div>rvdw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 3.0</div>
  <div>rvdw_switch &nbsp;&nbsp;= 0.0</div>
  <div>fourierspacing &nbsp;= 0.12</div>
  <div>pme_order &nbsp; &nbsp; &nbsp; = 4</div>
  <div>ewald_rtol &nbsp; &nbsp; &nbsp;= 1e-5</div>
  <div>optimize_fft &nbsp; &nbsp;= yes</div>
  <div><br>
  </div>
  </div>
  <div>and it works. I want something similar to PME-Switch (rlist &gt;
rcoulomb) but without shifting the real space coulomb part.&nbsp;&nbsp;Is this
possible?&nbsp;When I try the option rcoulomb_switch &gt; rcoulomb, it gives
an error.</div>
  <div><br>
  </div>
  <div>Thanks,</div>
  <div>Jeetain</div>
  </div>
  <div><br>
  </div>
  <div><span class="EC_Apple-style-span"
 style="font-family: Times; font-size: 16px;">
  <pre>&gt; Hi,

&gt; You did not specify for which type of vdw and electrostatics you want this option.
&gt; For plain cut-off's it does not make sense.
&gt; In version 3.3 you can do what you want with the shift and switch options.
&gt;
&gt; In the CVS version there are also Reaction-Field-zero and PME-Switch.
&gt;
&gt; Berk.


&gt;<i> From: <a moz-do-not-send="true"
 href="http://www.gromacs.org/mailman/listinfo/gmx-users"
 target="_blank">jeetain at gmail.com</a>
</i>&gt;<i> To: <a moz-do-not-send="true"
 href="http://www.gromacs.org/mailman/listinfo/gmx-users"
 target="_blank">gmx-users at gromacs.org</a>
</i>&gt;<i> Date: Sat, 19 Jul 2008 16:38:59 -0400
</i>&gt;<i> Subject: [gmx-users] How to modify code so that rlist &gt; rcoulomb
</i>&gt;<i> 
</i>&gt;<i> Hi All,
</i>&gt;<i> 
</i>&gt;<i> I want to simulate a system for which rvdw &gt; rcoulomb and to account  
</i>&gt;<i> for LJ interactions correctly rlist should be greater than rvdw (if  
</i>&gt;<i> nstist != 1). For current gromacs setup rlist should be equal to  
</i>&gt;<i> rcoulomb. I searched the mailing list and there has been several  
</i>&gt;<i> discussions related to this issue such as,
</i>&gt;<i> 
</i>&gt;<i> <a moz-do-not-send="true"
 href="http://www.gromacs.org/pipermail/gmx-users/2006-July/022804.html"
 target="_blank">http://www.gromacs.org/pipermail/gmx-users/2006-July/022804.html</a>
</i>&gt;<i> 
</i>&gt;<i> I was wondering if anyone has implemented something already so that a  
</i>&gt;<i> system with,  rlist &gt; rvdw &gt; rcoulomb, can be simulated without any  
</i>&gt;<i> problem. Can anyone please guide me what files / variables should be  
</i>&gt;<i> changed to implement this.
</i>&gt;<i> 
</i>&gt;<i> Thanks,
</i>&gt;<i> Jeetain 
</i>&gt;<i> _______________________________________________
</i>&gt;<i> gmx-users mailing list    <a moz-do-not-send="true"
 href="http://www.gromacs.org/mailman/listinfo/gmx-users"
 target="_blank">gmx-users at gromacs.org</a>
</i>&gt;<i> <a moz-do-not-send="true"
 href="http://www.gromacs.org/mailman/listinfo/gmx-users"
 target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a>
</i>&gt;<i> Please search the archive at <a moz-do-not-send="true"
 href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!
</i>&gt;<i> Please don't post (un)subscribe requests to the list. Use the 
</i>&gt;<i> www interface or send it to <a moz-do-not-send="true"
 href="http://www.gromacs.org/mailman/listinfo/gmx-users"
 target="_blank">gmx-users-request at gromacs.org.</a>
</i>&gt;<i> Can't post? Read <a moz-do-not-send="true"
 href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a>
</i>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
<a moz-do-not-send="true"
 href="http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/"
 target="_blank">http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/</a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a moz-do-not-send="true"
 href="http://www.gromacs.org/pipermail/gmx-users/attachments/20080721/db784bc4/attachment.html"
 target="_blank">http://www.gromacs.org/pipermail/gmx-users/attachments/20080721/db784bc4/attachment.html</a></pre>
  </span></div>
  <br>
  <hr>Express yourself instantly with MSN Messenger! <a
 moz-do-not-send="true"
 href="http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/"
 target="_new">MSN Messenger</a>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
gmx-users mailing list    <a class="moz-txt-link-abbreviated" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>
<a class="moz-txt-link-freetext" href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a>
Please search the archive at <a class="moz-txt-link-freetext" href="http://www.gromacs.org/search">http://www.gromacs.org/search</a> before posting!
Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to <a class="moz-txt-link-abbreviated" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.
Can't post? Read <a class="moz-txt-link-freetext" href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a></pre>
</blockquote>
</body>
</html>