<span id="index-0"></span><h1>compute smd/tlsph_dt command<a class="headerlink" href="#compute-smd-tlsph-dt-command" title="Permalink to this headline">¶</a></h1>
<div class="section" id="syntax">
<h2>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><div class="highlight"><pre>compute ID group-ID smd/tlsph_dt
</pre></div>
</div>
<ul class="simple">
<li>ID, group-ID are documented in <a class="reference internal" href="compute.html"><em>compute</em></a> command</li>
<li>smd/tlsph_dt = style name of this compute command</li>
</ul>
</div>
<div class="section" id="examples">
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><div class="highlight"><pre>compute 1 all smd/tlsph_dt
</pre></div>
</div>
</div>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>Define a computation that outputs the CFL-stable time increment per particle.
This time increment is essentially given by the speed of sound, divided by the SPH smoothing length.
Because both the speed of sound and the smoothing length typically change during the course of a simulation,
the stable time increment needs to be recomputed every time step.
This calculation is performed automatically in the relevant SPH pair styles and this compute only serves to make the
stable time increment accessible for output purposes.</p>
<p>See <a class="reference external" href="USER/smd/SMD_LAMMPS_userguide.pdf">this PDF guide</a> to using 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 <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.