Commit 2375e6b3 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@550 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 37ecfb2b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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>
+3 −3
Original line number Diff line number Diff line
@@ -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:]