<p>Define a computation that extracts additional values calculated by a
pair style, and makes them accessible for output or further processing
by other commands. The group specified for this command is ignored.</p>
<p>The specified <em>pstyle</em> must be a pair style used in your simulation
either by itself or as a sub-style in a <a class="reference internal" href="pair_hybrid.html"><span class="doc">pair_style hybrid or hybrid/overlay</span></a> command.</p>
<p>The <em>evalue</em> setting is optional; it may be left off the command. All
pair styles tally a potential energy <em>epair</em> which may be broken into
two parts: <em>evdwl</em> and <em>ecoul</em> such that <em>epair</em> = <em>evdwl</em> + <em>ecoul</em>.
If the pair style calculates Coulombic interactions, their energy will
be tallied in <em>ecoul</em>. Everything else (whether it is a Lennard-Jones
style van der Waals interaction or not) is tallied in <em>evdwl</em>. If
<em>evalue</em> is specified as <em>epair</em> or left out, then <em>epair</em> is stored
as a global scalar by this compute. This is useful when using
<a class="reference internal" href="pair_hybrid.html"><span class="doc">pair_style hybrid</span></a> if you want to know the portion
of the total energy contributed by one sub-style. If <em>evalue</em> is
specfied as <em>evdwl</em> or <em>ecoul</em>, then just that portion of the energy
is stored as a global scalar.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">The energy returned by the <em>evdwl</em> keyword does not include tail
<p>Some pair styles tally additional quantities, e.g. a breakdown of
potential energy into a dozen or so components is tallied by the
<a class="reference internal" href="pair_reax.html"><span class="doc">pair_style reax</span></a> commmand. These values (1 or more)
are stored as a global vector by this compute. See the doc page for
<a class="reference internal" href="pair_style.html"><span class="doc">individual pair styles</span></a> for info on these values.</p>
<p><strong>Output info:</strong></p>
<p>This compute calculates a global scalar which is <em>epair</em> or <em>evdwl</em> or
<em>ecoul</em>. If the pair style supports it, it also calculates a global
vector of length >= 1, as determined by the pair style. These values
can be used by any command that uses global scalar or vector values
from a compute as input. See <a class="reference internal" href="Section_howto.html#howto-15"><span class="std std-ref">this section</span></a> for an overview of LAMMPS output
options.</p>
<p>The scalar and vector values calculated by this compute are
“extensive”.</p>
<p>The scalar value will be in energy <a class="reference internal" href="units.html"><span class="doc">units</span></a>. The vector
values will typically also be in energy <a class="reference internal" href="units.html"><span class="doc">units</span></a>, but see
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>.