forked from lijiext/lammps
59 lines
1.7 KiB
HTML
59 lines
1.7 KiB
HTML
<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>
|
|
|
|
<H3>atom_modify command
|
|
</H3>
|
|
<P><B>Syntax:</B>
|
|
</P>
|
|
<PRE>atom_modify keyword value ...
|
|
</PRE>
|
|
<UL><LI>one or more keyword/value pairs may be appended
|
|
|
|
<LI>keyword = <I>map</I>
|
|
|
|
<PRE> <I>map</I> value = <I>array</I> or <I>hash</I>
|
|
</PRE>
|
|
|
|
</UL>
|
|
<P><B>Examples:</B>
|
|
</P>
|
|
<PRE>atom_modify map hash
|
|
</PRE>
|
|
<P><B>Description:</B>
|
|
</P>
|
|
<P>Modify properties of the atom style selected within LAMMPS.
|
|
</P>
|
|
<P>The <I>map</I> keyword determines how atom ID lookup is done for molecular
|
|
problems. Lookups are performed by bond (angle, etc) routines in
|
|
LAMMPS to find the local atom index associated with a global atom ID.
|
|
When the <I>array</I> value is used, each processor stores a lookup table
|
|
of length N, where N is the total # of atoms in the system. This is
|
|
the fastest method for most simulations, but a processor can run out
|
|
of memory to store the table for very large simulations. The <I>hash</I>
|
|
value uses a hash table to perform the lookups. This method can be
|
|
slightly slower than the <I>array</I> method, but its memory cost is
|
|
proportional to N/P on each processor, where P is the total number of
|
|
processors running the simulation.
|
|
</P>
|
|
<P><B>Restrictions:</B>
|
|
</P>
|
|
<P>This command must be used before the simulation box is defined by a
|
|
<A HREF = "read_data.html">read_data</A> or <A HREF = "create_box.html">create_box</A> command.
|
|
</P>
|
|
<P><B>Related commands:</B> none
|
|
</P>
|
|
<P><B>Default:</B>
|
|
</P>
|
|
<P>By default, atomic (non-molecular) problems do not allocate maps.
|
|
For molecular problems, the option default is map = array.
|
|
</P>
|
|
</HTML>
|