<spanid="index-0"></span><h1>compute temp/region/eff command<aclass="headerlink"href="#compute-temp-region-eff-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>
<divclass="highlight-python"><divclass="highlight"><pre>compute ID group-ID temp/region/eff region-ID
</pre></div>
</div>
<ulclass="simple">
<li>ID, group-ID are documented in <aclass="reference internal"href="compute.html"><em>compute</em></a> command</li>
<li>temp/region/eff = style name of this compute command</li>
<li>region-ID = ID of region to use for choosing atoms</li>
</ul>
</div>
<divclass="section"id="examples">
<h2>Examples<aclass="headerlink"href="#examples"title="Permalink to this headline">¶</a></h2>
<h2>Description<aclass="headerlink"href="#description"title="Permalink to this headline">¶</a></h2>
<p>Define a computation that calculates the temperature of a group of
nuclei and electrons in the <aclass="reference internal"href="pair_eff.html"><em>electron force field</em></a>
model, within a geometric region using the electron force field. A
compute of this style can be used by commands that compute a
temperature, e.g. <aclass="reference internal"href="thermo_modify.html"><em>thermo_modify</em></a>.</p>
<p>The operation of this compute is exactly like that described by the
<aclass="reference internal"href="compute_temp_region.html"><em>compute temp/region</em></a> command, except that
the formula for the temperature itself includes the radial electron
velocity contributions, as discussed by the <aclass="reference internal"href="compute_temp_eff.html"><em>compute temp/eff</em></a> command.</p>
<p><strong>Output info:</strong></p>
<p>This compute calculates a global scalar (the temperature) and a global
vector of length 6 (KE tensor), which can be accessed by indices 1-6.
These values can be used by any command that uses global scalar or
vector values from a compute as input. See <aclass="reference internal"href="Section_howto.html#howto-15"><span>this section</span></a> for an overview of LAMMPS output
options.</p>
<p>The scalar value calculated by this compute is “intensive”. The
vector values are “extensive”.</p>
<p>The scalar value will be in temperature <aclass="reference internal"href="units.html"><em>units</em></a>. The
vector values will be in energy <aclass="reference internal"href="units.html"><em>units</em></a>.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<p>This compute is part of the USER-EFF package. It is 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>.