<h2>Description<aclass="headerlink"href="#description"title="Permalink to this headline">¶</a></h2>
<p>This command sets the style of inter-processor communication of atom
information that occurs each timestep as coordinates and other
properties are exchanged between neighboring processors and stored as
properties of ghost atoms.</p>
<p>For the default <em>brick</em> style, the domain decomposition used by LAMMPS
to partition the simulation box must be a regular 3d grid of bricks,
one per processor. Each processor communicates with its 6 Cartesian
neighbors in the grid to acquire information for nearby atoms.</p>
<p>For the <em>tiled</em> style, a more general domain decomposition can be
used, as triggered by the <aclass="reference internal"href="balance.html"><em>balance</em></a> or <aclass="reference internal"href="fix_balance.html"><em>fix balance</em></a> commands. The simulation box can be
partitioned into non-overlapping rectangular-shaped “tiles” or varying
sizes and shapes. Again there is one tile per processor. To acquire
information for nearby atoms, communication must now be done with a
more complex pattern of neighboring processors.</p>
<p>Note that this command does not actually define a partitoining of the
simulation box (a domain decomposition), rather it determines what
kinds of decompositions are allowed and the pattern of communication
used to enable the decomposition. A decomposition is created when the
simulation box is first created, 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> or <aclass="reference internal"href="read_restart.html"><em>read_restart</em></a>
commands. For both the <em>brick</em> and <em>tiled</em> styles, the initial
decomposition will be the same, as described by
<aclass="reference internal"href="create_box.html"><em>create_box</em></a> and <aclass="reference internal"href="processors.html"><em>processors</em></a>
commands. The decomposition can be changed via the
<aclass="reference internal"href="balance.html"><em>balance</em></a> or <aclass="reference internal"href="fix_balance.html"><em>fix_balance</em></a> commands.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions<aclass="headerlink"href="#restrictions"title="Permalink to this headline">¶</a></h2>
<blockquote>
<div>none</div></blockquote>
</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>.