mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@550 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
37ecfb2bae
commit
2375e6b3de
|
@ -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>
|
||||
|
|
|
@ -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:]
|
||||
|
||||
|
|
Loading…
Reference in New Issue