forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4750 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
acc67e9d83
commit
2e5f6d6375
10
doc/run.html
10
doc/run.html
|
@ -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
doc/run.txt
10
doc/run.txt
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue