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

This commit is contained in:
sjplimp
2015-07-24 17:57:41 +00:00
parent 052f644d13
commit c6c44b5fe0
24 changed files with 2221 additions and 73 deletions

View File

@ -25,7 +25,7 @@
<I>reduce/region</I> arg = region-ID
region-ID = ID of region to use for choosing atoms
</PRE>
<LI>mode = <I>sum</I> or <I>min</I> or <I>max</I> or <I>ave</I>
<LI>mode = <I>sum</I> or <I>min</I> or <I>max</I> or <I>ave</I> or <I>sumsq</I> or <I>avesq</I>
<LI>one or more inputs can be listed
@ -71,7 +71,12 @@ vectors.
option adds the values in the vector into a global total. The <I>min</I>
or <I>max</I> options find the minimum or maximum value across all vector
values. The <I>ave</I> setting adds the vector values into a global total,
then divides by the number of values in the vector.
then divides by the number of values in the vector. The <I>sumsq</I>
option sums the square of the values in the vector into a global
total. The <I>avesq</I> setting does the same as <I>sumsq</I>, then divdes the
sum of squares by the number of values. The last two options can be
useful for calculating the variance of some quantity, e.g. variance =
sumsq - ave^2.
</P>
<P>Each listed input is operated on independently. For per-atom inputs,
the group specified with this command means only atoms within the