<spanid="index-0"></span><h1>box command<aclass="headerlink"href="#box-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>box keyword value ...
</pre></div>
</div>
<ulclass="simple">
<li>one or more keyword/value pairs may be appended</li>
<li>keyword = <em>tilt</em></li>
</ul>
<preclass="literal-block">
<em>tilt</em> value = <em>small</em> or <em>large</em>
</pre>
</div>
<divclass="section"id="examples">
<h2>Examples<aclass="headerlink"href="#examples"title="Permalink to this headline">¶</a></h2>
<divclass="highlight-python"><divclass="highlight"><pre>box tilt large
box tilt small
</pre></div>
</div>
</div>
<divclass="section"id="description">
<h2>Description<aclass="headerlink"href="#description"title="Permalink to this headline">¶</a></h2>
<p>Set attributes of the simulation box.</p>
<p>For triclinic (non-orthogonal) simulation boxes, the <em>tilt</em> keyword
allows simulation domains to be created with arbitrary tilt factors,
e.g. via the <aclass="reference internal"href="create_box.html"><em>create_box</em></a> or
<aclass="reference internal"href="read_data.html"><em>read_data</em></a> commands. Tilt factors determine how
skewed the triclinic box is; see <aclass="reference internal"href="Section_howto.html#howto-12"><span>this section</span></a> of the manual for a discussion of
triclinic boxes in LAMMPS.</p>
<p>LAMMPS normally requires that no tilt factor can skew the box more
than half the distance of the parallel box length, which is the 1st
dimension in the tilt factor (x for xz). If <em>tilt</em> is set to
<em>small</em>, which is the default, then an error will be
generated if a box is created which exceeds this limit. If <em>tilt</em>
is set to <em>large</em>, then no limit is enforced. You can create
a box with any tilt factors you wish.</p>
<p>Note that if a simulation box has a large tilt factor, LAMMPS will run
less efficiently, due to the large volume of communication needed to
acquire ghost atoms around a processor’s irregular-shaped sub-domain.
For extreme values of tilt, LAMMPS may also lose atoms and generate an
error.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<p>This command cannot be used after the simulation box is defined by a
<aclass="reference internal"href="read_data.html"><em>read_data</em></a> or <aclass="reference internal"href="create_box.html"><em>create_box</em></a> command or
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>.