defined in LAMMPS and new ones can be added; see <aclass="reference internal"href="Section_modify.html"><em>this section</em></a> for a discussion.</p>
<p>Fixes perform their operations at different stages of the timestep.
<p>In LAMMPS, the values generated by a fix can be used in several ways:</p>
<ulclass="simple">
<li>Global values can be output via the <aclass="reference internal"href="thermo_style.html"><em>thermo_style custom</em></a> or <aclass="reference internal"href="fix_ave_time.html"><em>fix ave/time</em></a> command.
Or the values can be referenced in a <aclass="reference internal"href="variable.html"><em>variable equal</em></a> or
<li>Per-atom values can be output via the <aclass="reference internal"href="dump.html"><em>dump custom</em></a> command
or the <aclass="reference internal"href="fix_ave_spatial.html"><em>fix ave/spatial</em></a> command. Or they can be
time-averaged via the <aclass="reference internal"href="fix_ave_atom.html"><em>fix ave/atom</em></a> command or
reduced by the <aclass="reference internal"href="compute_reduce.html"><em>compute reduce</em></a> command. Or the
per-atom values can be referenced in an <aclass="reference internal"href="variable.html"><em>atom-style variable</em></a>.</li>
<li>Local values can be reduced by the <aclass="reference internal"href="compute_reduce.html"><em>compute reduce</em></a> command, or histogrammed by the <aclass="reference internal"href="fix_ave_histo.html"><em>fix ave/histo</em></a> command.</li>
</ul>
<p>See this <aclass="reference internal"href="Section_howto.html#howto-15"><span>howto section</span></a> for a summary of
various LAMMPS output options, many of which involve fixes.</p>
<p>The results of fixes that calculate global quantities can be either
“intensive” or “extensive” values. Intensive means the value is
<li><aclass="reference internal"href="fix_nph_asphere.html"><em>nph/asphere</em></a> - NPH for aspherical particles</li>
<li><aclass="reference internal"href="fix_nph_sphere.html"><em>nph/sphere</em></a> - NPH for spherical particles</li>
<li><aclass="reference internal"href="fix_nh.html"><em>npt</em></a> - constant NPT time integration via Nose/Hoover</li>
<li><aclass="reference internal"href="fix_npt_asphere.html"><em>npt/asphere</em></a> - NPT for aspherical particles</li>
<li><aclass="reference internal"href="fix_npt_sphere.html"><em>npt/sphere</em></a> - NPT for spherical particles</li>
<li><aclass="reference internal"href="fix_nve.html"><em>nve</em></a> - constant NVE time integration</li>
<li><aclass="reference internal"href="fix_nve_asphere.html"><em>nve/asphere</em></a> - NVE for aspherical particles</li>
<li><aclass="reference internal"href="fix_nve_asphere_noforce.html"><em>nve/asphere/noforce</em></a> - NVE for aspherical particles without forces”</li>
<li><aclass="reference internal"href="fix_nve_body.html"><em>nve/body</em></a> - NVE for body particles</li>
<li><aclass="reference internal"href="fix_nve_limit.html"><em>nve/limit</em></a> - NVE with limited step length</li>
<li><aclass="reference internal"href="fix_nve_line.html"><em>nve/line</em></a> - NVE for line segments</li>
<li><aclass="reference internal"href="fix_nve_noforce.html"><em>nve/noforce</em></a> - NVE without forces (v only)</li>
<li><aclass="reference internal"href="fix_nve_sphere.html"><em>nve/sphere</em></a> - NVE for spherical particles</li>
<li><aclass="reference internal"href="fix_nve_tri.html"><em>nve/tri</em></a> - NVE for triangles</li>
<li><aclass="reference internal"href="fix_nh.html"><em>nvt</em></a> - constant NVT time integration via Nose/Hoover</li>
<li><aclass="reference internal"href="fix_nvt_asphere.html"><em>nvt/asphere</em></a> - NVT for aspherical particles</li>
<li><aclass="reference internal"href="fix_nvt_sllod.html"><em>nvt/sllod</em></a> - NVT for NEMD with SLLOD equations</li>
<li><aclass="reference internal"href="fix_nvt_sphere.html"><em>nvt/sphere</em></a> - NVT for spherical particles</li>
<li><aclass="reference internal"href="fix_qeq_comb.html"><em>qeq/comb</em></a> - charge equilibration for COMB potential <aclass="reference internal"href="fix_qeq.html"><em>qeq/dynamic</em></a> - charge equilibration via dynamic method <aclass="reference internal"href="fix_qeq.html"><em>qeq/point</em></a> - charge equilibration via point method <aclass="reference internal"href="fix_qeq.html"><em>qeq/shielded</em></a> - charge equilibration via shielded method <aclass="reference internal"href="fix_qeq.html"><em>qeq/slater</em></a> - charge equilibration via Slater method <aclass="reference internal"href="fix_reax_bonds.html"><em>reax/bonds</em></a> - write out ReaxFF bond information <aclass="reference internal"href="fix_recenter.html"><em>recenter</em></a> - constrain the center-of-mass position of a group of atoms</li>
<li><aclass="reference internal"href="fix_restrain.html"><em>restrain</em></a> - constrain a bond, angle, dihedral</li>
<li><aclass="reference internal"href="fix_rigid.html"><em>rigid</em></a> - constrain one or more clusters of atoms to move as a rigid body with NVE integration</li>
<li><aclass="reference internal"href="fix_rigid.html"><em>rigid/nph</em></a> - constrain one or more clusters of atoms to move as a rigid body with NPH integration</li>
<li><aclass="reference internal"href="fix_rigid.html"><em>rigid/npt</em></a> - constrain one or more clusters of atoms to move as a rigid body with NPT integration</li>
<li><aclass="reference internal"href="fix_rigid.html"><em>rigid/nve</em></a> - constrain one or more clusters of atoms to move as a rigid body with alternate NVE integration</li>
<li><aclass="reference internal"href="fix_rigid.html"><em>rigid/nvt</em></a> - constrain one or more clusters of atoms to move as a rigid body with NVT integration</li>
<li><aclass="reference internal"href="fix_rigid.html"><em>rigid/small</em></a> - constrain many small clusters of atoms to move as a rigid body with NVE integration</li>
<li><aclass="reference internal"href="fix_setforce.html"><em>setforce</em></a> - set the force on each atom</li>
<li><aclass="reference internal"href="fix_shake.html"><em>shake</em></a> - SHAKE constraints on bonds and/or angles</li>
<li><aclass="reference internal"href="fix_spring.html"><em>spring</em></a> - apply harmonic spring force to group of atoms</li>
<li><aclass="reference internal"href="fix_spring_rg.html"><em>spring/rg</em></a> - spring on radius of gyration of group of atoms</li>
<li><aclass="reference internal"href="fix_spring_self.html"><em>spring/self</em></a> - spring from each atom to its origin</li>
<li><aclass="reference internal"href="fix_wall_region.html"><em>wall/region</em></a> - use region surface as wall</li>
<li><aclass="reference internal"href="fix_wall_srd.html"><em>wall/srd</em></a> - slip/no-slip wall for SRD particles</li>
</ul>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<p>Some fix styles are part of specific packages. They are 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 on packages.
The doc pages for individual fixes tell if it is part of a package.</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>.