<li>one or more keyword/value pairs may be listed</li>
<li>keyword = <em>extra</em> or <em>dynamic</em></li>
</ul>
<preclass="literal-block">
<em>extra</em> value = N
N = # of extra degrees of freedom to subtract
<em>dynamic</em> value = <em>yes</em> or <em>no</em>
yes/no = do or do not recompute the number of atoms contributing to the temperature
</pre>
</div>
<divclass="section"id="examples">
<h2>Examples</h2>
<preclass="literal-block">
compute_modify myTemp extra 0
compute_modify newtemp dynamic yes extra 600
</pre>
</div>
<divclass="section"id="description">
<h2>Description</h2>
<p>Modify one or more parameters of a previously defined compute. Not
all compute styles support all parameters.</p>
<p>The <em>extra</em> keyword refers to how many degrees-of-freedom are
subtracted (typically from 3N) as a normalizing factor in a
temperature computation. Only computes that compute a temperature use
this option. The default is 2 or 3 for <aclass="reference internal"href="dimension.html"><spanclass="doc">2d or 3d systems</span></a> which is a correction factor for an ensemble
of velocities with zero total linear momentum. For compute
temp/partial, if one or more velocity components are excluded, the
value used for <em>extra</em> is scaled accordingly. You can use a negative
number for the <em>extra</em> parameter if you need to add
degrees-of-freedom. See the <aclass="reference internal"href="compute_temp_asphere.html"><spanclass="doc">compute temp/asphere</span></a> command for an example.</p>
<p>The <em>dynamic</em> keyword determines whether the number of atoms N in the
compute group is re-computed each time a temperature is computed.
Only compute styles that calculate a temperature use this option. By
default, N is assumed to be constant. If you are adding atoms to the
system (see the <aclass="reference internal"href="fix_pour.html"><spanclass="doc">fix pour</span></a> or <aclass="reference internal"href="fix_deposit.html"><spanclass="doc">fix deposit</span></a> commands) or expect atoms to be lost
(e.g. due to evaporation), then this option should be used to insure
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>.