<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>pull_pbcatom is indeed a global atom index.<br>I will add this information to the mdp description.<br>I don't see how any atom number would not be affected by reordering your topology,<br>except if you are thinking of group that consist of exactly one molecule.<br><br>But pull_pbcatom does not have to be part of the pull group.<br>Although in most cases user will choose it to be part of the group,<br>one can think of cases where an atom not part of the group is more central.<br>Code wise I don't see any reason why this should not work.<br>Are you sure that this does not work?<br><br>I don't see why you would want pull_pbcatom to take an index group.<br>Apart from the fact that this will complicate the option description and processing,<br>you will have to make an index group with one atom index, which you would<br>otherwise fill in directly in pull_pbcatom.<br><br>Berk<br><br>&gt; Date: Mon, 23 Feb 2009 01:26:12 -0500<br>&gt; From: chris.neale@utoronto.ca<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] pull_pbcatom appears global and could benifit from a        sanity check during grompp<br>&gt; <br>&gt; Hello,<br>&gt; <br>&gt; I am using the pull code (umbrella, distance) to restrain molecule M  <br>&gt; to a specified distance from group G in gromacs 4.0.4. I recently  <br>&gt; found that I needed to specify pull_pbcatom(G) and restarted my  <br>&gt; simulations using a rationally selected atom from that group. However,  <br>&gt; the distance restraint appeared to stop working, even though the  <br>&gt; forces output in the .pf.xvg file were large. I am by now pretty sure  <br>&gt; that what pull_pbcatom requires is the global atom number (ranging  <br>&gt; from 1 to N over the entire .gro file; sensitive to topology  <br>&gt; reordering) and not the group-specific atom number (ranging from 1 to  <br>&gt; G over the selected group; insensitive to topology reordering).  <br>&gt; Actually, I had expected pull_pbcatom to accept a .ndx file group, and  <br>&gt; when it didn't then I incorrectly guessed the group-specific numbering  <br>&gt; as outlined above.<br>&gt; <br>&gt; First, can anybody confirm this?<br>&gt; <br>&gt; Second, my specified pull_pbcatom0 was not even part of pull_group0 if  <br>&gt; indeed the atom numbering is global. I think that there should be a  <br>&gt; fatal error generated in this case.<br>&gt; <br>&gt; Third, I suggest the following addition to the online .mdp option text  <br>&gt; for the pull code pull_pbcatom:<br>&gt; <br>&gt; Existing:<br>&gt; "The reference atom for the treatment of periodic boundary conditions  <br>&gt; inside the group (this has no effect on the treatment of the pbc  <br>&gt; between groups). This option is only important when the diameter of  <br>&gt; the pull group is larger than half the shortest box vector. For  <br>&gt; determining the COM, all atoms in the group are put at their periodic  <br>&gt; image which is closest to pull_pbcatom1. A value of 0 means that the  <br>&gt; middle atom (number wise) is used."<br>&gt; <br>&gt; To Add:<br>&gt; "When pull_pbcatom is greater than zero, the atom number is treated  <br>&gt; globally and should therefore correspond to the atom number in the  <br>&gt; .gro file as it would in an index file group. Hence, pull_pbcatom is  <br>&gt; sensitive to a reordering of your topology"<br>&gt; <br>&gt; Fourth, for the long term development I suggest that this should be  <br>&gt; supplied as a .ndx file group.<br>&gt; <br>&gt; Thanks,<br>&gt; Chris.<br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />See all the ways you can stay connected <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>to friends and family</a></body>
</html>