<spanid="index-0"></span><h1>compute temp/deform/eff command<aclass="headerlink"href="#compute-temp-deform-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/deform/eff
</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/deform/eff = style name of this compute command</li>
</ul>
</div>
<divclass="section"id="examples">
<h2>Examples<aclass="headerlink"href="#examples"title="Permalink to this headline">¶</a></h2>
<divclass="highlight-python"><divclass="highlight"><pre>compute myTemp all temp/deform/eff
</pre></div>
</div>
</div>
<divclass="section"id="description">
<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, after subtracting out a streaming velocity induced by the
simulation box changing size and/or shape, for example in a
non-equilibrium MD (NEMD) simulation. The size/shape change is
induced by use of the <codeclass="xref doc docutils literal"><spanclass="pre">fix</span><spanclass="pre">deform/eff</span></code> command. A
compute of this style is created by the <aclass="reference internal"href="fix_nvt_sllod_eff.html"><em>fix nvt/sllod/eff</em></a> command to compute the thermal
temperature of atoms for thermostatting purposes. A compute of this
style can also be used by any command that computes a temperature,
e.g. <aclass="reference internal"href="thermo_modify.html"><em>thermo_modify</em></a>, <aclass="reference internal"href="fix_nh.html"><em>fix npt/eff</em></a>,
etc.</p>
<p>The calculation performed by this compute is exactly like that
described by the <aclass="reference internal"href="compute_temp_deform.html"><em>compute temp/deform</em></a>
command, except that the formula for the temperature 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. Note that only the
translational degrees of freedom for each nuclei or electron are
affected by the streaming velocity adjustment. The radial velocity
component of the electrons is not affected.</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>.