<spanid="index-0"></span><h1>pair_style lj/class2 command<aclass="headerlink"href="#pair-style-lj-class2-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/cut command<aclass="headerlink"href="#pair-style-lj-class2-coul-cut-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/cut/cuda command<aclass="headerlink"href="#pair-style-lj-class2-coul-cut-cuda-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/cut/kk command<aclass="headerlink"href="#pair-style-lj-class2-coul-cut-kk-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/cut/omp command<aclass="headerlink"href="#pair-style-lj-class2-coul-cut-omp-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/long command<aclass="headerlink"href="#pair-style-lj-class2-coul-long-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/long/cuda command<aclass="headerlink"href="#pair-style-lj-class2-coul-long-cuda-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/long/gpu command<aclass="headerlink"href="#pair-style-lj-class2-coul-long-gpu-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/long/kk command<aclass="headerlink"href="#pair-style-lj-class2-coul-long-kk-command"title="Permalink to this headline">¶</a></h1>
<h1>pair_style lj/class2/coul/long/omp command<aclass="headerlink"href="#pair-style-lj-class2-coul-long-omp-command"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="syntax">
<h2>Syntax<aclass="headerlink"href="#syntax"title="Permalink to this headline">¶</a></h2>
<aclass="reference internal"href="read_data.html"><em>read_data</em></a> or <aclass="reference internal"href="read_restart.html"><em>read_restart</em></a>
commands, or by mixing as described below:</p>
<ulclass="simple">
<li>epsilon (energy units)</li>
<li>sigma (distance units)</li>
<li>cutoff1 (distance units)</li>
<li>cutoff2 (distance units)</li>
</ul>
<p>The latter 2 coefficients are optional. If not specified, the global
all class2 potentials is to use the <em>sixthpower</em> formulas documented
by the <aclass="reference internal"href="pair_modify.html"><em>pair_modify</em></a> command. The <aclass="reference internal"href="pair_modify.html"><em>pair_modify mix</em></a> setting is thus ignored for class2 potentials
enabled if LAMMPS was built with those packages. See the <aclass="reference internal"href="Section_start.html#start-3"><span>Making LAMMPS</span></a> section for more info.</p>
<p>You can specify the accelerated styles explicitly in your input script
by including their suffix, or you can use the <aclass="reference internal"href="Section_start.html#start-7"><span>-suffix command-line switch</span></a> when you invoke LAMMPS, or you can
use the <aclass="reference internal"href="suffix.html"><em>suffix</em></a> command in your input script.</p>
<p>See <aclass="reference internal"href="Section_accelerate.html"><em>Section_accelerate</em></a> of the manual for
more instructions on how to use the accelerated styles effectively.</p>
<p>All of the lj/class2 pair styles write their information to <aclass="reference internal"href="restart.html"><em>binary restart files</em></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>All of the lj/class2 pair styles can only be used via the <em>pair</em>
keyword of the <aclass="reference internal"href="run_style.html"><em>run_style respa</em></a> command. They do not
support the <em>inner</em>, <em>middle</em>, <em>outer</em> keywords.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<p>These styles are part of the CLASS2 package. They are only enabled if
LAMMPS was built with that package. See the <aclass="reference internal"href="Section_start.html#start-3"><span>Making LAMMPS</span></a> section for more info.</p>
</div>
<divclass="section"id="related-commands">
<h2>Related commands<aclass="headerlink"href="#related-commands"title="Permalink to this headline">¶</a></h2>
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>.