Commit 2e5f6d63 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4750 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent acc67e9d
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -156,6 +156,16 @@ print Coord = $q
particular atom between runs.  Note that the variable "$q" will
particular atom between runs.  Note that the variable "$q" will
be evaluated afresh each time the print command is executed.
be evaluated afresh each time the print command is executed.
</P>
</P>
<P>Note that by using the line continuation character "&", the run every
command can be spread across many lines, though it is still a single
command:
</P>
<PRE>run 100000 every 1000 &
  "print Minimum value = $a" &
  "print Maximum value = $b" &
  "print Temp = $c" &
  "print Press = $d" 
</PRE>
<P>If the <I>pre</I> and <I>post</I> options are set to "no" when used with the
<P>If the <I>pre</I> and <I>post</I> options are set to "no" when used with the
<I>every</I> keyword, then the 1st run will do the full setup and the last
<I>every</I> keyword, then the 1st run will do the full setup and the last
run will print the full timing summary, but these operations will be
run will print the full timing summary, but these operations will be
+10 −0
Original line number Original line Diff line number Diff line
@@ -149,6 +149,16 @@ which does 3 runs of 2000 steps and prints the x-coordinate of a
particular atom between runs.  Note that the variable "$q" will
particular atom between runs.  Note that the variable "$q" will
be evaluated afresh each time the print command is executed.
be evaluated afresh each time the print command is executed.


Note that by using the line continuation character "&", the run every
command can be spread across many lines, though it is still a single
command:

run 100000 every 1000 &
  "print Minimum value = $a" &
  "print Maximum value = $b" &
  "print Temp = $c" &
  "print Press = $d" :pre

If the {pre} and {post} options are set to "no" when used with the
If the {pre} and {post} options are set to "no" when used with the
{every} keyword, then the 1st run will do the full setup and the last
{every} keyword, then the 1st run will do the full setup and the last
run will print the full timing summary, but these operations will be
run will print the full timing summary, but these operations will be
Baidu
map