<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Thank you for your response.&nbsp; I am still unclear as to how the whole thing works (and the manual is no help).&nbsp; <br><br>If I do specify (in the .mdp file) something like constraints = all-bonds, will that override the harmonic-bond interactions specified in the .itp files?&nbsp; </div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Mark Abraham &lt;Mark.Abraham@anu.edu.au&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, 14 May, 2009
 4:56:04 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gmx-users] Constraints specified in .mdp as well as in .top files<br></font><br>Vishwanath Dalvi wrote:<br>&gt; Hi!<br>&gt; <br>&gt; I have a question about a possible redundancy/conflict in specifying bond-constraints.<br>&gt; <br>&gt; I have in my simulation (among other things) a number of bonds - some of which are harmonic while some are rigid (or constrained).<br>&gt; <br>&gt; I specify the bonds in the .itp (or ultimately in the .top) files as follows:<br>&gt; <br>&gt; [ bonds ]<br>&gt; ;&nbsp; index1&nbsp; index2&nbsp; &nbsp; func&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  deq(nm)&nbsp; &nbsp; &nbsp;  k(kJ/mol/nm2)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp;  2&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp; 0.1529000000&nbsp;  224262.4000000000<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; 32&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp;
 0.1810000000&nbsp;  185769.6000000000<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 2&nbsp; &nbsp; &nbsp;  3&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp; 0.1529000000&nbsp;  224262.4000000000<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 3&nbsp; &nbsp; &nbsp;  4&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp; 0.1529000000&nbsp;  224262.4000000000<br>&gt; [ constraints ]<br>&gt; ;&nbsp; index1&nbsp; index2&nbsp;  funct&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; length(nm)<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; 30&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp; 0.1090000000<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; 31&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp; 0.1090000000<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 2&nbsp; &nbsp; &nbsp; 28&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp; 0.1090000000<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; 2&nbsp; &nbsp; &nbsp; 29&nbsp; &nbsp; &nbsp;  1&nbsp; &nbsp; &nbsp; &nbsp; 0.1090000000<br>&gt; <br>&gt;
 However, it turns out that the .mdp file also requires one to specify constraints in the form of:<br>&gt; constraints&nbsp; &nbsp; &nbsp; =&nbsp; all-bonds/h-bonds etc<br>&gt; <br>&gt; Do we have to specify constraints in the .mdp file if we already have specified them in the .itp file?<br><br>I believe so. This is also true of restraints (which are a different concept in GROMACS).<br><br>Mark<br>_______________________________________________<br>gmx-users mailing list&nbsp; &nbsp; <a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>Please don't post (un)subscribe requests to the list. Use the www interface or send it to <a
 ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br></div></div></div><br>


      <!--1--><hr size=1></hr> Bollywood news, movie reviews, film trailers and more! <a href="http://in.rd.yahoo.com/tagline_movies_1/*http://in.movies.yahoo.com/?wm=n/"> Click here.</a></body></html>