<spanid="index-0"></span><h1>pair_style zero command</h1>
<divclass="section"id="syntax">
<h2>Syntax</h2>
<preclass="literal-block">
pair_style zero cutoff <em>nocoeff</em>
</pre>
<ulclass="simple">
<li>zero = style name of this pair style
cutoff = global cutoff (distance units)
nocoeff = ignore all pair_coeff parameters (optional)</li>
</ul>
</div>
<divclass="section"id="examples">
<h2>Examples</h2>
<preclass="literal-block">
pair_style zero 10.0
pair_style zero 5.0 nocoeff
pair_coeff * *
pair_coeff 1 2*4 3.0
</pre>
</div>
<divclass="section"id="description">
<h2>Description</h2>
<p>Define a global or per-type cutoff length for the purpose of
building a neighbor list and acquiring ghost atoms, but do
not compute any pairwise forces or energies.</p>
<p>This can be useful for fixes or computes which require a neighbor list
to enumerate pairs of atoms within some cutoff distance, but when
pairwise forces are not otherwise needed. Examples are the <aclass="reference internal"href="fix_bond_create.html"><spanclass="doc">fix bond/create</span></a>, <aclass="reference internal"href="compute_rdf.html"><spanclass="doc">compute rdf</span></a>,
<p>Note that the <aclass="reference internal"href="comm_modify.html"><spanclass="doc">comm_modify cutoff</span></a> command can be
used to insure communication of ghost atoms even when a pair style is
not defined, but it will not trigger neighbor list generation.</p>
<p>The optional <em>nocoeff</em> flag allows to read data files with a PairCoeff
section for any pair style. Similarly, any pair_coeff commands
will only be checked for the atom type numbers and the rest ignored.
In this case, only the global cutoff will be used.</p>
<p>The following coefficients must be defined for each pair of atoms
types via the <aclass="reference internal"href="pair_coeff.html"><spanclass="doc">pair_coeff</span></a> command as in the examples
above, or in the data file or restart files read by the
<aclass="reference internal"href="read_data.html"><spanclass="doc">read_data</span></a> or <aclass="reference internal"href="read_restart.html"><spanclass="doc">read_restart</span></a>
commands, or by mixing as described below:</p>
<ulclass="simple">
<li>cutoff (distance units)</li>
</ul>
<p>This coefficient is optional. If not specified, the global cutoff
specified in the pair_style command is used. If the pair_style has
been specified with the optional <em>nocoeff</em> flag, then a cutoff
<p>The cutoff distance for this pair style can be mixed. The default mix
value is <em>geometric</em>. See the “pair_modify” command for details.</p>
<p>This pair style does not support the <aclass="reference internal"href="pair_modify.html"><spanclass="doc">pair_modify</span></a>
shift, table, and tail options.</p>
<p>This pair style writes its information to <aclass="reference internal"href="restart.html"><spanclass="doc">binary restart files</span></a>, so pair_style and pair_coeff commands do not need
to be specified in an input script that reads a restart file.</p>
<p>This pair style can only be used via the <em>pair</em> keyword of the
<aclass="reference internal"href="run_style.html"><spanclass="doc">run_style respa</span></a> command. It does not support the
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.