<spanid="index-0"></span><h1>compute smd/hourglass_error command<aclass="headerlink"href="#compute-smd-hourglass-error-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 smd/hourglass_error
</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>smd/hourglass_error = style name of this compute command</li>
</ul>
</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 1 all smd/hourglass_error
</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 which outputs the error of the approximated
relative separation with respect to the actual relative separation of
the particles i and j. Ideally, if the deformation gradient is exact,
and there exists a unique mapping between all particles’ positions
within the neighborhood of the central node and the deformation gradient,
the approximated relative separation will coincide with the actual relative
separation of the particles i and j in the deformed configuration.
This compute is only really useful for debugging the hourglass control mechanim which is part of the Total-Lagrangian SPH pair style.</p>
<p>See <aclass="reference external"href="USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</a> to use Smooth Mach Dynamics in LAMMPS.</p>
<p><strong>Output Info:</strong></p>
<p>This compute calculates a per-particle vector, which can be accessed by
any command that uses per-particle values from a compute as input. See
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>.