2007-02-10 05:40:32 +08:00
|
|
|
<HTML>
|
|
|
|
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
|
|
|
|
</CENTER>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
|
2007-02-21 08:18:01 +08:00
|
|
|
<H3>compute centro/atom command
|
2007-02-10 05:40:32 +08:00
|
|
|
</H3>
|
|
|
|
<P><B>Syntax:</B>
|
|
|
|
</P>
|
2007-02-21 08:18:01 +08:00
|
|
|
<PRE>compute ID group-ID centro/atom
|
2007-02-10 05:40:32 +08:00
|
|
|
</PRE>
|
|
|
|
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
|
2007-02-21 08:18:01 +08:00
|
|
|
<LI>centro/atom = style name of this compute command
|
2007-02-10 05:40:32 +08:00
|
|
|
</UL>
|
|
|
|
<P><B>Examples:</B>
|
|
|
|
</P>
|
2007-02-21 08:18:01 +08:00
|
|
|
<PRE>compute 1 all centro/atom
|
2007-02-10 05:40:32 +08:00
|
|
|
</PRE>
|
|
|
|
<P><B>Description:</B>
|
|
|
|
</P>
|
|
|
|
<P>Define a computation that calculates the centro-symmetry parameter for
|
2009-01-20 01:17:01 +08:00
|
|
|
each atom in the group. In solid-state systems the centro-symmetry
|
2007-07-03 03:59:42 +08:00
|
|
|
parameter is a useful measure of the local lattice disorder around an
|
|
|
|
atom and can be used to characterize whether the atom is part of a
|
|
|
|
perfect lattice, a local defect (e.g. a dislocation or stacking
|
|
|
|
fault), or at a surface.
|
2007-02-10 05:40:32 +08:00
|
|
|
</P>
|
2007-11-20 23:37:16 +08:00
|
|
|
<P>The value of the centro-symmetry parameter will be 0.0 for atoms not
|
|
|
|
in the specified compute group.
|
|
|
|
</P>
|
2007-02-10 05:40:32 +08:00
|
|
|
<P>This parameter is computed using the following formula from
|
|
|
|
<A HREF = "#Kelchner">(Kelchner)</A>
|
|
|
|
</P>
|
|
|
|
<CENTER><IMG SRC = "Eqs/centro_symmetry.jpg">
|
|
|
|
</CENTER>
|
2008-04-07 23:58:34 +08:00
|
|
|
<P>where the 12 nearest neighbors are found (for fcc lattices) and Ri and
|
|
|
|
Ri+6 are the vectors from the central atom to the opposite pair of
|
|
|
|
nearest neighbors. Atoms not in the group are included in the 12
|
|
|
|
neighbors used in this calculation.
|
2007-02-10 05:40:32 +08:00
|
|
|
</P>
|
|
|
|
<P>The neighbor list needed to compute this quantity is constructed each
|
2009-01-20 01:17:01 +08:00
|
|
|
time the calculation is performed (e.g. each time a snapshot of atoms
|
2007-02-10 05:40:32 +08:00
|
|
|
is dumped). Thus it can be inefficient to compute/dump this quantity
|
2009-01-20 01:17:01 +08:00
|
|
|
too frequently or to have multiple compute/dump commands, each with a
|
2007-02-10 05:40:32 +08:00
|
|
|
<I>centro/atom</I> style.
|
|
|
|
</P>
|
2008-01-04 08:56:10 +08:00
|
|
|
<P><B>Output info:</B>
|
|
|
|
</P>
|
|
|
|
<P>This compute calculates a scalar quantity for each atom, which can be
|
|
|
|
accessed by any command that uses per-atom computes as input. See
|
|
|
|
<A HREF = "Section_howto.html#4_15">this section</A> for an overview of LAMMPS
|
|
|
|
output options.
|
|
|
|
</P>
|
2007-02-10 05:40:32 +08:00
|
|
|
<P><B>Restrictions:</B> none
|
|
|
|
</P>
|
2009-01-20 01:17:01 +08:00
|
|
|
<P><B>Related commands:</B>
|
|
|
|
</P>
|
|
|
|
<P><A HREF = "compute_cna_atom.html">compute cna/atom</A>
|
2007-02-10 05:40:32 +08:00
|
|
|
</P>
|
|
|
|
<P><B>Default:</B> none
|
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<A NAME = "Kelchner"></A>
|
|
|
|
|
|
|
|
<P><B>(Kelchner)</B> Kelchner, Plimpton, Hamilton, Phys Rev B, 58, 11085 (1998).
|
|
|
|
</P>
|
|
|
|
</HTML>
|