git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7434 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-01-06 17:38:57 +00:00
parent edcd54b2eb
commit 033d0e6546
18 changed files with 200 additions and 42 deletions

View File

@ -13,15 +13,17 @@
</H3>
<P><B>Syntax:</B>
</P>
<PRE>fix ID group-ID spring/self K
<PRE>fix ID group-ID spring/self K dir
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "fix.html">fix</A> command
<LI>spring/self = style name of this fix command
<LI>K = spring constant (force/distance units)
<LI>K = spring constant (force/distance units)
<LI>dir = xyz, xy, xz, yz, x, y, or z (optional, default: xyz)
</UL>
<P><B>Examples:</B>
</P>
<PRE>fix tether boundary-atoms spring/self 10.0
<PRE>fix tether boundary-atoms spring/self 10.0
fix zrest move spring/self 10.0 z
</PRE>
<P><B>Description:</B>
</P>
@ -32,6 +34,12 @@ the magnitude of the force on each atom is -Kr, where r is the
displacement of the atom from its current position to its initial
position.
</P>
<P>With the (optional) dir flag, one can select in which direction the
spring force is applied. By default, the restraint is applied in all
directions, but it can be limited to the xy-, xz-, yz-plane and the
x-, y-, or z-direction, thus restraining the atoms to a line or a
plane, respectively.
</P>
<P><B>Restart, fix_modify, output, run start/stop, minimize info:</B>
</P>
<P>This fix writes the original coordinates of tethered atoms to <A HREF = "restart.html">binary