<spanid="index-0"></span><h1>fix temp/rescale/eff command<aclass="headerlink"href="#fix-temp-rescale-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>fix ID group-ID temp/rescale/eff N Tstart Tstop window fraction
</pre></div>
</div>
<ulclass="simple">
<li>ID, group-ID are documented in <aclass="reference internal"href="fix.html"><em>fix</em></a> command</li>
<li>temp/rescale/eff = style name of this fix command</li>
<li>N = perform rescaling every N steps</li>
<li>Tstart,Tstop = desired temperature at start/end of run (temperature units)</li>
<li>window = only rescale if temperature is outside this window (temperature units)</li>
<li>fraction = rescale to target temperature by this fraction</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>Reset 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 by explicitly rescaling
their velocities.</p>
<p>The operation of this fix is exactly like that described by the <aclass="reference internal"href="fix_temp_rescale.html"><em>fix temp/rescale</em></a> command, except that the rescaling
is also applied to the radial electron velocity for electron
<h2>Restart, fix_modify, output, run start/stop, minimize info<aclass="headerlink"href="#restart-fix-modify-output-run-start-stop-minimize-info"title="Permalink to this headline">¶</a></h2>
<p>No information about this fix is written to <aclass="reference internal"href="restart.html"><em>binary restart files</em></a>.</p>
<p>The <aclass="reference internal"href="fix_modify.html"><em>fix_modify</em></a><em>temp</em> option is supported by this
fix. You can use it to assign a temperature <aclass="reference internal"href="compute.html"><em>compute</em></a>
you have defined to this fix which will be used in its thermostatting
procedure, as described above. For consistency, the group used by
this fix and by the compute should be the same.</p>
<p>The <aclass="reference internal"href="fix_modify.html"><em>fix_modify</em></a><em>energy</em> option is supported by this
fix to add the energy change implied by a velocity rescaling to the
system’s potential energy as part of <aclass="reference internal"href="thermo_style.html"><em>thermodynamic output</em></a>.</p>
<p>This fix computes a global scalar which can be accessed by various
<aclass="reference internal"href="Section_howto.html#howto-15"><span>output commands</span></a>. The scalar is the
cummulative energy change due to this fix. The scalar value
calculated by this fix is “extensive”.</p>
<p>This fix can ramp its target temperature over multiple runs, using the
<em>start</em> and <em>stop</em> keywords of the <aclass="reference internal"href="run.html"><em>run</em></a> command. See the
<aclass="reference internal"href="run.html"><em>run</em></a> command for details of how to do this.</p>
<p>This fix is not invoked during <aclass="reference internal"href="minimize.html"><em>energy minimization</em></a>.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<p>This fix 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>.