<span id="index-0"></span><h1>pair_style list command<a class="headerlink" href="#pair-style-list-command" title="Permalink to this headline">¶</a></h1>
<div class="section" id="syntax">
<h2>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><div class="highlight"><pre>pair_style list listfile cutoff keyword
</pre></div>
</div>
<ul class="simple">
<li>listfile = name of file with list of pairwise interactions</li>
<li>cutoff = global cutoff (distance units)</li>
<li>keyword = optional flag <em>nocheck</em> or <em>check</em> (default is <em>check</em>)</li>
</ul>
</div>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><div class="highlight"><pre>pair_style list restraints.txt 200.0
pair_coeff * *
</pre></div>
</div>
<div class="highlight-python"><div class="highlight"><pre>pair_style hybrid/overlay lj/cut 1.1225 list pair_list.txt 300.0
pair_coeff * * lj/cut 1.0 1.0
pair_coeff 3* 3* list
</pre></div>
</div>
</div>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>Style <em>list</em> computes interactions between explicitly listed pairs of
atoms with the option to select functional form and parameters for
each individual pair. Because the parameters are set in the list
file, the pair_coeff command has no parameters (but still needs to be
provided). The <em>check</em> and <em>nocheck</em> keywords enable/disable a test
that checks whether all listed bonds were present and computed.</p>
<p>This pair style can be thought of as a hybrid between bonded,
non-bonded, and restraint interactions. It will typically be used as
an additional interaction within the <em>hybrid/overlay</em> pair style. It
currently supports three interaction styles: a 12-6 Lennard-Jones, a
Morse and a harmonic potential.</p>
<p>The format of the list file is as follows:</p>
<ul class="simple">
<li>one line per pair of atoms</li>
<li>empty lines will be ignored</li>
<li>comment text starts with a ‘#’ character</li>
<p>This pair style does not support mixing since all parameters are
explicit for each pair.</p>
<p>The <a class="reference internal" href="pair_modify.html"><em>pair_modify</em></a> shift option is supported by this
pair style.</p>
<p>The <a class="reference internal" href="pair_modify.html"><em>pair_modify</em></a> table and tail options are not
relevant for this pair style.</p>
<p>This pair style does not write its information to <a class="reference internal" href="restart.html"><em>binary restart files</em></a>, so pair_style and pair_coeff commands 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
<a class="reference internal" href="run_style.html"><em>run_style respa</em></a> command. It does not support the
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.