<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} p
        {margin-top:0;
        margin-bottom:0}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
&nbsp;
<div id="divRplyFwdMsg" dir="ltr"></div>
<div>
<p>Hello all!</p>
<p>my question is about the specific way grompp handles the dihedraltypes 1 and 9. I realized that internally</p>
<p>both types are saved together in the same list (which is bt[ftype] in the push_dihedraltype() function), while all
</p>
<p>other types are pushed in separate lists.</p>
<p>This leads to dihedrals with types 1 or 9 being matched to dihedraltypes (if they are assigned default values)</p>
<p>with any of 9 or 1 types, independent of their actual function-type. It could also lead to a dihedraltype with type 9</p>
<p>being added as multiple&nbsp;dihedral to a directly preceding dihedraltype with type 1 (if they have matching bondtypes).<br>
</p>
<p>I guess mixing types 1 and 9 is discouraged and there does not seem to be a standard gmx ff-file that would do this.</p>
<p>However, since matching of all other types is exlusive for those types, I do not understand why this approach was chosen.</p>
<p>It is legal to mix all other types in random order in the dihedraltypes section as well.<br>
</p>
<p>Why is there no&nbsp;individual enum for 9 in the types/idef.h as is the case with all other types 1,2,3,4,5,8?</p>
<p>Any help is greatly appreciated,</p>
<p>regards Martin<br>
</p>
<p><br>
</p>
</div>
</div>
</body>
</html>