X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=docs%2Fmanual%2Fforcefield.tex;h=70829ad13e07568f4187669fcc171ec40c4bbb55;hb=cb466e44535ac45f2ee8341dcae39207b5813abe;hp=f20986fc617ff7547f5e8cb5dad0fd3a0ff52bb2;hpb=1ff3f3bf02fa4457248228557ab0d3ffbbb7cd76;p=alexxy%2Fgromacs.git diff --git a/docs/manual/forcefield.tex b/docs/manual/forcefield.tex index f20986fc61..70829ad13e 100644 --- a/docs/manual/forcefield.tex +++ b/docs/manual/forcefield.tex @@ -1087,9 +1087,12 @@ radius. The force acts towards the center of the sphere. The following distance \beq d_g(\ve{r}_i;\ve{R}_i) = |\ve{r}_i-\ve{R}_i| \eeq -{\bfseries Cylinder} ($g=2$): The particle is kept in a cylinder of given radius -parallel to the $z$-axis. The force from the flat-bottomed potential acts -towards the axis of the cylinder. The $z$-component of the force is zero. +{\bfseries Cylinder} ($g=6,7,8$): The particle is kept in a cylinder of given radius +parallel to the $x$ ($g=6$), $y$ ($g=7$), or $z$-axis ($g=8$). For backwards compatibility, setting +$g=2$ is mapped to $g=8$ in the code so that old {\tt .tpr} files and topologies work. +The force from the flat-bottomed potential acts towards the axis of the cylinder. +The component of the force parallel to the cylinder axis is zero. +For a cylinder aligned along the $z$-axis: \beq d_g(\ve{r}_i;\ve{R}_i) = \sqrt{ (x_i-X_i)^2 + (y_i - Y_i)^2 } \eeq