system, *e.g.* a water slab (see Engin et al. J. Chem. Phys. B
2010).
-.. mdp:: pull-coord1-groups
-
- The two groups indices should be given on which this pull
- coordinate will operate. The first index can be 0, in which case an
- absolute reference of :mdp:`pull-coord1-origin` is used. With an
- absolute reference the system is no longer translation invariant
- and one should think about what to do with the center of mass
- motion. Note that (only) for :mdp:`pull-coord1-geometry` =
- :mdp-value:`direction-relative` four groups are required.
-
.. mdp:: pull-coord1-type:
.. mdp-value:: umbrella
component. This geometry is not supported with constraint
pulling.
+.. mdp:: pull-coord1-groups
+
+ The two groups indices should be given on which this pull
+ coordinate will operate. The first index can be 0, in which case an
+ absolute reference of :mdp:`pull-coord1-origin` is used. With an
+ absolute reference the system is no longer translation invariant
+ and one should think about what to do with the center of mass
+ motion. Note that (only) for :mdp:`pull-coord1-geometry` =
+ :mdp-value:`direction-relative` four groups are required.
+
.. mdp:: pull-coord1-dim
(Y Y Y)
int ngroup;
pcrd = &pull->coord[i-1];
- sprintf(buf, "pull-coord%d-groups", i);
- STYPE(buf, groups, "");
sprintf(buf, "pull-coord%d-type", i);
EETYPE(buf, pcrd->eType, epull_names);
sprintf(buf, "pull-coord%d-geometry", i);
EETYPE(buf, pcrd->eGeom, epullg_names);
+ sprintf(buf, "pull-coord%d-groups", i);
+ STYPE(buf, groups, "");
nscan = sscanf(groups, "%d %d %d %d %d", &pcrd->group[0], &pcrd->group[1], &pcrd->group[2], &pcrd->group[3], &idum);
ngroup = (pcrd->eGeom == epullgDIRRELATIVE) ? 4 : 2;