Syntax:
fix ID group-ID spring/self K
Examples:
fix tether boundary-atoms spring/self 10.0
Description:
Apply a spring force independently to each atom in the group to tether it to its initial position. The initial position for each atom is its location at the time the fix command was issued. At each timestep, 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.
Restrictions: none
Related commands:
Default: none