<UL><LI>one or more keyword/value pairs may be listed
<PRE>keyword = <I>delay</I> or <I>every</I> or <I>check</I> or <I>once</I> or <I>include</I> or <I>exclude</I> or <I>page</I> or <I>one</I> or <I>binsize</I>
<I>delay</I> value = N
N = delay building until this many steps since last build
<I>every</I> value = M
M = build neighbor list every this many steps
<I>check</I> value = <I>yes</I> or <I>no</I>
<I>yes</I> = only build if some atom has moved half the skin distance or more
<I>no</I> = always build on 1st step that <I>every</I> and <I>delay</I> are satisfied
<I>once</I>
<I>yes</I> = only build neighbor list once at start of run and never rebuild
<I>no</I> = rebuild neighbor list according to other settings
<I>include</I> value = group-ID
group-ID = only build pair neighbor lists for atoms in this group
<I>exclude</I> values:
type M N
M,N = exclude if one atom in pair is type M, other is type N
group group1-ID group2-ID
group1-ID,group2-ID = exclude if one atom is in 1st group, other in 2nd
molecule group-ID
groupname = exclude if both atoms are in the same molecule and in the same group
none
delete all exclude settings
<I>page</I> value = N
N = number of pairs stored in a single neighbor page
<I>one</I> value = N
N = max number of neighbors of one atom
<I>binsize</I> value = size
size = bin size for neighbor list construction (distance units)
</PRE>
</UL>
<P><B>Examples:</B>
</P>
<PRE>neigh_modify every 2 delay 10 check yes page 100000
neigh_modify exclude type 2 3
neigh_modify exclude group frozen frozen check no
neigh_modify exclude group residue1 chain3
neigh_modify exclude molecule rigid
</PRE>
<P><B>Description:</B>
</P>
<P>This command sets parameters that affect the building and use of
pairwise neighbor lists.
</P>
<P>The <I>every</I>, <I>delay</I>, <I>check</I>, and <I>once</I> options affect how often
lists are built as a simulation runs. The <I>delay</I> setting means never
build a new list until at least N steps after the previous build. The
<I>every</I> setting means build the list every M steps (after the delay
has passed). If the <I>check</I> setting is <I>no</I>, the list is built on the
1st step that satisfies the <I>delay</I> and <I>every</I> settings. If the
<I>check</I> setting is <I>yes</I>, then the list is only built on a particular
step if some atom has moved more than half the skin distance
(specified in the <A HREF = "neighbor.html">neighbor</A> command) since the last
build. If the <I>once</I> setting is yes, then the neighbor list is only
built once at the beginning of each run, and never rebuilt. This
should only be done if you are certain atoms will not move far enough
that the list should be rebuilt. E.g. running a simulation of a cold
crystal. Note that it is not that expensive to check if neighbor
lists should be rebuilt.
</P>
<P>When the rRESPA integrator is used (see the <A HREF = "run_style.html">run_style</A>
command), the <I>every</I> and <I>delay</I> parameters refer to the longest
(outermost) timestep.
</P>
<P>The <I>include</I> option limits the building of pairwise neighbor lists to
atoms in the specified group. This can be useful for models where a
large portion of the simulation is particles that do not interact with
other particles or with each other via pairwise interactions. The
group specified with this option must also be specified via the