git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7186 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -105,16 +105,16 @@ in a time-dependent fashion using equal-style
|
||||
<A HREF = "variable.html">variables</A>.
|
||||
</P>
|
||||
<PRE>variable ramp equal ramp(0,10)
|
||||
fix 1 all wall xlo v_ramp 1.0 1.0 2.5
|
||||
fix 1 all wall/reflect xlo v_ramp
|
||||
</PRE>
|
||||
<PRE>variable linear equal vlinear(0,20)
|
||||
fix 1 all wall xlo v_linear 1.0 1.0 2.5
|
||||
fix 1 all wall/reflect xlo v_linear
|
||||
</PRE>
|
||||
<PRE>variable wiggle equal swiggle(0.0,5.0,3.0)
|
||||
fix 1 all wall xlo v_wiggle 1.0 1.0 2.5
|
||||
fix 1 all wall/reflect xlo v_wiggle
|
||||
</PRE>
|
||||
<PRE>variable wiggle equal cwiggle(0.0,5.0,3.0)
|
||||
fix 1 all wall xlo v_wiggle 1.0 1.0 2.5
|
||||
fix 1 all wall/reflect xlo v_wiggle
|
||||
</PRE>
|
||||
<P>The ramp(lo,hi) function adjusts the wall position linearly from lo to
|
||||
hi over the course of a run. The linear(c0,velocity) function does
|
||||
|
||||
Reference in New Issue
Block a user