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

This commit is contained in:
sjplimp 2007-04-30 23:54:12 +00:00
parent 37ecfb2bae
commit 2375e6b3de
2 changed files with 6 additions and 6 deletions

View File

@ -25,10 +25,10 @@
</UL>
<P><B>Examples:</B>
</P>
<PRE>if $<I>steps</I> > 1000 then exit
<PRE>if ${steps} > 1000 then exit
if $x <= $y then "print X is smaller = $x" else "print Y is smaller = $y"
if $<I>eng</I> > 0.0 then "timestep 0.005"
if $<I>eng</I> > $<I>eng_previous</I> then "jump file1" else "jump file2"
if ${eng} > 0.0 then "timestep 0.005"
if ${eng} > ${eng_previous} then "jump file1" else "jump file2"
</PRE>
<P><B>Description:</B>
</P>

View File

@ -22,10 +22,10 @@ command2 = command to execute if condition is not met (optional argument) :ul
[Examples:]
if ${steps} > 1000 then exit
if $\{steps\} > 1000 then exit
if $x <= $y then "print X is smaller = $x" else "print Y is smaller = $y"
if ${eng} > 0.0 then "timestep 0.005"
if ${eng} > ${eng_previous} then "jump file1" else "jump file2" :pre
if $\{eng\} > 0.0 then "timestep 0.005"
if $\{eng\} > $\{eng_previous\} then "jump file1" else "jump file2" :pre
[Description:]