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

This commit is contained in:
sjplimp
2010-08-04 21:36:27 +00:00
parent 632eddc43a
commit c5f9d387d8
8 changed files with 110 additions and 70 deletions

View File

@ -115,11 +115,9 @@ details.
</P>
<P>For example, these commands would change the prefactor coefficient of
the <A HREF = "pair_soft.html">pair_style soft</A> potential from 10.0 to 30.0 in a
linear fashion over the course of a 1000-step simulation:
linear fashion over the course of a simulation:
</P>
<PRE>variable min equal 10.0
variable max equal 30.0
variable prefactor equal min+(max-min)*elapsed/1000
<PRE>variable prefactor equal ramp(10,30)
fix 1 all adapt 1 pair soft a * * prefactor
</PRE>
<P>The <I>atom</I> keyword enables various atom properties to be changed. The