<spanid="index-0"></span><h1>compute temp/drude command<aclass="headerlink"href="#compute-temp-drude-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/drude
</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/drude = 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 TDRUDE all temp/drude
</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 temperatures of core-Drude
atoms in its default temperature compute (<aclass="reference internal"href="compute_temp.html"><em>compute temp</em></a> command), the reduced temperature of the
core-Drude particle pairs is not calculated correctly.</p>
<p>By contrast, this compute calculates the temperature of the cores
<li>temperature of the centers of mass (temperature units)</li>
<li>temperature of the dipoles (temperature units)</li>
<li>number of degrees of freedom of the centers of mass</li>
<li>number of degrees of freedom of the dipoles</li>
<li>kinetic energy of the centers of mass (energy units)</li>
<li>kinetic energy of the dipoles (energy units)</li>
</ol>
<p>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>Both the scalar value and the first two values of the vector
calculated by this compute are “intensive”. The other 4 vector values
are “extensive”.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<p>The number of degrees of freedom contributing to the temperature is
assumed to be constant for the duration of the run unless the
<em>fix_modify</em> command sets the option <em>dynamic yes</em>.</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>.