<li>ID, group-ID are documented in <aclass="reference internal"href="fix.html"><spanclass="doc">fix</span></a> command</li>
<li>manifold = name of the manifold</li>
<li>manifold-args = parameters for the manifold</li>
</ul>
</div>
<divclass="section"id="examples">
<h2>Examples</h2>
<p>fix constrain all manifoldforce sphere 5.0</p>
</div>
<divclass="section"id="description">
<h2>Description</h2>
<p>This fix subtracts each time step from the force the component along the normal of the specified <aclass="reference internal"href="manifolds.html"><spanclass="doc">manifold</span></a>.
This can be used in combination with <aclass="reference internal"href="minimize.html"><spanclass="doc">minimize</span></a> to remove overlap between particles while
keeping them (roughly) constrained to the given manifold, e.g. to set up a run with <aclass="reference internal"href="fix_nve_manifold_rattle.html"><spanclass="doc">fix nve/manifold/rattle</span></a>.
I have found that only <em>hftn</em> and <em>quickmin</em> with a very small time step perform adequately though.</p>
<hrclass="docutils"/>
<p><strong>Restart, fix_modify, output, run start/stop, minimize info:</strong></p>
<p>No information about this fix is written to <aclass="reference internal"href="restart.html"><spanclass="doc">binary restart files</span></a>. None of the <aclass="reference internal"href="fix_modify.html"><spanclass="doc">fix_modify</span></a> options
are relevant to this fix. No global or per-atom quantities are stored
by this fix for access by various <aclass="reference internal"href="Section_howto.html#howto-15"><spanclass="std std-ref">output commands</span></a>. No parameter of this fix can
be used with the <em>start/stop</em> keywords of the <aclass="reference internal"href="run.html"><spanclass="doc">run</span></a> command.
This fix is invoked during <aclass="reference internal"href="minimize.html"><spanclass="doc">energy minimization</span></a>.</p>
</div>
<hrclass="docutils"/>
<divclass="section"id="restrictions">
<h2>Restrictions</h2>
<p>This fix is part of the USER-MANIFOLD package. It is only enabled if LAMMPS
was built with that package. See the <aclass="reference internal"href="Section_start.html#start-3"><spanclass="std std-ref">Making LAMMPS</span></a>
section for more info.</p>
<p>Only use this with <em>min_style hftn</em> or <em>min_style quickmin</em>. If not, the constraints
will not be satisfied very well at all. A warning is generated if the <em>min_style</em> is
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>.