<spanid="index-0"></span><h1>compute temp/ramp command<aclass="headerlink"href="#compute-temp-ramp-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/ramp vdim vlo vhi dim clo chi keyword value ...
</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/ramp = style name of this compute command</li>
<li>vdim = <em>vx</em> or <em>vy</em> or <em>vz</em></li>
<li>vlo,vhi = subtract velocities between vlo and vhi (velocity units)</li>
<li>dim = <em>x</em> or <em>y</em> or <em>z</em></li>
<li>clo,chi = lower and upper bound of domain to subtract from (distance units)</li>
<li>zero or more keyword/value pairs may be appended</li>
<li>keyword = <em>units</em></li>
</ul>
<preclass="literal-block">
<em>units</em> value = <em>lattice</em> or <em>box</em>
</pre>
</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 2nd middle temp/ramp vx 0 8 y 2 12 units lattice
</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
fixes that work in this way include <aclass="reference internal"href="fix_nh.html"><em>fix nvt</em></a>, <aclass="reference internal"href="fix_temp_rescale.html"><em>fix temp/rescale</em></a>, <aclass="reference internal"href="fix_temp_berendsen.html"><em>fix temp/berendsen</em></a>, and <aclass="reference internal"href="fix_langevin.html"><em>fix langevin</em></a>.</p>
<p>This compute subtracts out degrees-of-freedom due to fixes that
constrain molecular motion, such as <aclass="reference internal"href="fix_shake.html"><em>fix shake</em></a> and
<aclass="reference internal"href="fix_rigid.html"><em>fix rigid</em></a>. This means the temperature of groups of
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>
<blockquote>
<div>none</div></blockquote>
</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>.