git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13713 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user