<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>&gt; Date: Fri, 29 May 2009 16:52:50 +1000<br>&gt; From: Mark.Abraham@anu.edu.au<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] constant term in dihedral potential function<br>&gt; <br>&gt; Kukol, Andreas wrote:<br>&gt; &gt; Many thanks for your help.<br>&gt; &gt; <br>&gt; &gt; As for the 1-4 interactions, I am using the Gromos53a6 forcefield for everything apart from this particular dihedral.<br>&gt; &gt; <br>&gt; &gt; I did not exclude 1-4 interactions previously with the multiple dihedral terms. Does this mean, if I use Ryckaert-Bellemans now (yielding the same potential function), I don't need to make any changes to 1-4 interactions ?<br>&gt; &gt; <br>&gt; &gt; Note that the previous method has been validated (with Gromacs 3.3), the problem is that it doesn't work with Gromacs 4 anymore. So I am trying to achieve the same result with Ryckaert-Bellemans instead of multiple periodic dihedrals.<br>&gt; <br>&gt; My earlier side point was that you can use multiple periodic dihedrals <br>&gt; of type 9 if those dihedrals follow each other directly. Such dihedrals <br>&gt; are effectively of type 1 (see code fragment below).<br>&gt; <br>&gt; You still won't get one of multiplicity 0, but such a function doesn't <br>&gt; influence the dynamics (dV/dr = 0) and would always cancel out of any <br>&gt; energy comparisons you might do. So I don't think it serves a purpose.<br>&gt; <br>&gt; &gt;&gt; I don't believe this works in the way you might expect. Page 109 of the<br>&gt; &gt;&gt; manual contradicts me, but (undocumented) dihedral type 9 was added<br>&gt; &gt;&gt; recently to allow multiple strictly-consecutive dihedrals of type "1" to<br>&gt; &gt;&gt; be accumulated on the same atoms. Anyway, this can readily be checked by<br>&gt; &gt;&gt; comparing 0-step EM runs, before and after commenting out the last of<br>&gt; &gt;&gt; the multiple dihedrals pre-grompp. Also, you can look at a gmxdump of<br>&gt; &gt;&gt; the .tpr.<br>&gt; &gt; <br>&gt; &gt; This works fine.<br>&gt; <br>&gt; I was looking at (4.0.5) src/kernel/toppush.c today for something else, <br>&gt; and there's a comment in support of my statement above:<br>&gt; <br>&gt;         if(ft == 9)<br>&gt;         {<br>&gt;                 /* Previously, we have always overwritten parameters if e.g. a torsion<br>&gt;                  with the same atomtypes occurs on multiple lines. However, CHARMM and<br>&gt;                  some other force fields specify multiple dihedrals over some bonds,<br>&gt;                  including cosines with multiplicity 6 and somethimes even higher.<br>&gt;                  Thus, they cannot be represented with Ryckaert-Bellemans terms.<br>&gt;                  To add support for these force fields, Dihedral type 4 is identical to<br>&gt;                  normal proper dihedrals, but repeated entries are allowed.<br>&gt;                  */<br>&gt;                 bAllowRepeat = TRUE;<br>&gt;                 ft = 1;<br>&gt;         }<br>&gt;         else<br>&gt;         {<br>&gt;                 bAllowRepeat = FALSE;<br>&gt;         }<br>&gt; <br>&gt; The comment should refer to type 9 iso type 4, of course (and again in <br>&gt; the warning text in push_bondtype() in the same source file). Further, <br>&gt; push_bondtype() produces a grompp warning about overriding parameters in <br>&gt; the other cases. So I think Berk is wrong here. Andreas should have a <br>&gt; look at his grompp warnings, perhaps.<br>&gt; <br>&gt; Mark<br><br>Indeed the number should be 9 iso 4.<br><br>But this is a different issue.<br>These changes are to enable automatic parameter settings based on atomtypes<br>for multiple dihedrals over the same bonds.<br>Andreas specifies the parameters on the same line in the [ dihedrals ] section.<br>In that case every works (and has alwats worked) fine.<br><br>Berk<br><br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>