<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
<LI>attribute/atom = style name of this compute command
<LI>style = <I>x</I> or <I>y</I> or <I>z</I> or <I>xu</I> or <I>yu</I> or <I>zu</I> or <I>vx</I> or <I>vy</I> or <I>vz</I> or <I>fx</I> or <I>fy</I> or <I>fz</I> or <I>xyz</I> or <I>v</I> or <I>f</I>
</UL>
<P><B>Examples:</B>
</P>
<PRE>compute 1 all attribute/atom vy
compute mine all attribute/atom xyz
</PRE>
<P><B>Description:</B>
</P>
<P>Define a computation that calculates (or simply stores) one or more
attributes for each atom in a group. This is useful for input to the
<A HREF = "fix_ave_spatial.html">fix ave/spatial</A> command to do spatial averaging
by layers or to the <A HREF = "fix_ave_atom.html">fix ave/atom</A> command to
perform time-averaging of per-atom quantities. The attribute values
can also be output directly by the <A HREF = "dump.html">dump custom</A> command,
but it has keywords that output these quantities without the need to
define an additional compute.
</P>
<P>The value of the attribute will be 0.0 for atoms not in the specified