git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14482 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2016-01-23 00:55:48 +00:00
parent 8b7e9fea4c
commit b31f864e83
5 changed files with 85 additions and 81 deletions

View File

@ -174,7 +174,8 @@ local quantities have the word “local” in their style,
e.g. <em>bond/local</em>. Styles with neither &#8220;atom&#8221; or &#8220;local&#8221; in their
style produce global quantities.</p>
<p>Note that a single compute produces either global or per-atom or local
quantities, but never more than one of these.</p>
quantities, but never more than one of these (with only a few
exceptions, as documented by individual compute commands).</p>
<p>Global, per-atom, and local quantities each come in three kinds: a
single scalar value, a vector of values, or a 2d array of values. The
doc page for each compute describes the style and kind of values it

View File

@ -55,7 +55,8 @@ e.g. {bond/local}. Styles with neither "atom" or "local" in their
style produce global quantities.
Note that a single compute produces either global or per-atom or local
quantities, but never more than one of these.
quantities, but never more than one of these (with only a few
exceptions, as documented by individual compute commands).
Global, per-atom, and local quantities each come in three kinds: a
single scalar value, a vector of values, or a 2d array of values. The

View File

@ -271,52 +271,54 @@ systems, but may lead to underestimation of Voronoi volumes in low
density systems. By default, the set of ghost atoms stored by each
processor is determined by the cutoff used for
<a class="reference internal" href="pair_style.html"><em>pair_style</em></a> interactions. The cutoff can be set
explicitly via the <a class="reference internal" href="comm_modify.html"><em>comm_modify cutoff</em></a> command.
The Voronoi cells for atoms adjacent to empty regions will extend
into those regions up to the communication cutoff in x, y, or z.
In that situation, an exterior
face is created at the cutoff distance normal to the x, y, or z
direction. For triclinic systems, the exterior face is
parallel to the corresponding reciprocal lattice vector.</p>
explicitly via the <a class="reference internal" href="comm_modify.html"><em>comm_modify cutoff</em></a> command. The
Voronoi cells for atoms adjacent to empty regions will extend into
those regions up to the communication cutoff in x, y, or z. In that
situation, an exterior face is created at the cutoff distance normal
to the x, y, or z direction. For triclinic systems, the exterior face
is parallel to the corresponding reciprocal lattice vector.</p>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">The Voro++ package performs its calculation in 3d. This will
still work for a 2d LAMMPS simulation, provided all the atoms have
the same z coordinate. The Voronoi cell of each atom will be
a columnar polyhedron with constant cross-sectional area
along the z direction and two exterior faces at the top and bottom of the
simulation box. If the atoms do not all
have the same z coordinate, then the columnar cells will be
accordingly distorted. The cross-sectional area of each Voronoi
cell can be obtained by dividing its volume by the z extent
of the simulation box. Note
that you define the z extent of the simulation box for 2d simulations
when using the <a class="reference internal" href="create_box.html"><em>create_box</em></a> or
<a class="reference internal" href="read_data.html"><em>read_data</em></a> commands.</p>
still work for a 2d LAMMPS simulation, provided all the atoms have the
same z coordinate. The Voronoi cell of each atom will be a columnar
polyhedron with constant cross-sectional area along the z direction
and two exterior faces at the top and bottom of the simulation box. If
the atoms do not all have the same z coordinate, then the columnar
cells will be accordingly distorted. The cross-sectional area of each
Voronoi cell can be obtained by dividing its volume by the z extent of
the simulation box. Note that you define the z extent of the
simulation box for 2d simulations when using the
<a class="reference internal" href="create_box.html"><em>create_box</em></a> or <a class="reference internal" href="read_data.html"><em>read_data</em></a> commands.</p>
</div>
<p><strong>Output info:</strong></p>
<p>By default, this compute calculates a per-atom array with 2 columns. In regular
dynamic tessellation mode the first column is the Voronoi volume, the
second is the neighbor count, as described above (read above for the
output data in case the <em>occupation</em> keyword is specified).
These values can be accessed by any command that
uses per-atom values from a compute as input. See <a class="reference internal" href="Section_howto.html#howto-15"><span>Section_howto 15</span></a> for an overview of LAMMPS output
options. If the <em>peratom</em> keyword is set to &#8220;no&#8221;, the
per-atom array is still created, but it is not accessible.</p>
<p>If the <em>edge_histo</em> keyword is used, then this compute
generates a global vector of length <a href="#id1"><span class="problematic" id="id2">*</span></a>maxedge*+1, containing
a histogram of the number of edges per face.</p>
<p>If the <em>neighbors</em> value is set to yes, then
this compute calculates a local array with 3 columns. There
is one row for each face of each Voronoi cell.</p>
<p>In LAMMPS contexts such as <a class="reference internal" href="compute_reduce.html"><em>compute reduce</em></a> that can
accept either a per-atom vector quantity or a local vector
quantity, the behavior depends on the value gives for the <em>peratom</em>
keyword: for the default value &#8220;yes&#8221; the per-atom array is accessed,
for the value <em>no</em> the local array is accessed.</p>
<p>By default, this compute calculates a per-atom array with 2
columns. In regular dynamic tessellation mode the first column is the
Voronoi volume, the second is the neighbor count, as described above
(read above for the output data in case the <em>occupation</em> keyword is
specified). These values can be accessed by any command that uses
per-atom values from a compute as input. See <a class="reference internal" href="Section_howto.html#howto-15"><span>Section_howto 15</span></a> for an overview of LAMMPS output
options. If the <em>peratom</em> keyword is set to &#8220;no&#8221;, the per-atom array
is still created, but it is not accessible.</p>
<p>If the <em>edge_histo</em> keyword is used, then this compute generates a
global vector of length <a href="#id1"><span class="problematic" id="id2">*</span></a>maxedge*+1, containing a histogram of the
number of edges per face.</p>
<p>If the <em>neighbors</em> value is set to yes, then this compute calculates a
local array with 3 columns. There is one row for each face of each
Voronoi cell.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Some LAMMPS commands such as the <a class="reference internal" href="compute_reduce.html"><em>compute reduce</em></a> command can accept either a per-atom or
local quantity. If this compute produces both quantities, the command
may access the per-atom quantity, even if you want to access the local
quantity. This effect can be eliminated by using the <em>peratom</em>
keyword to turn off the production of the per-atom quantities. For
the default value <em>yes</em> both quantities are produced. For the value
<em>no</em>, only the local array is produced.</p>
</div>
<p>The Voronoi cell volume will be in distance <a class="reference internal" href="units.html"><em>units</em></a> cubed.
The Voronoi face area will be in distance <a class="reference internal" href="units.html"><em>units</em></a> squared.</p>
The Voronoi face area will be in distance <a class="reference internal" href="units.html"><em>units</em></a> squared.</p>
</div>
<div class="section" id="restrictions">
<h2>Restrictions<a class="headerlink" href="#restrictions" title="Permalink to this headline"></a></h2>

View File

@ -160,56 +160,56 @@ systems, but may lead to underestimation of Voronoi volumes in low
density systems. By default, the set of ghost atoms stored by each
processor is determined by the cutoff used for
"pair_style"_pair_style.html interactions. The cutoff can be set
explicitly via the "comm_modify cutoff"_comm_modify.html command.
The Voronoi cells for atoms adjacent to empty regions will extend
into those regions up to the communication cutoff in x, y, or z.
In that situation, an exterior
face is created at the cutoff distance normal to the x, y, or z
direction. For triclinic systems, the exterior face is
parallel to the corresponding reciprocal lattice vector.
explicitly via the "comm_modify cutoff"_comm_modify.html command. The
Voronoi cells for atoms adjacent to empty regions will extend into
those regions up to the communication cutoff in x, y, or z. In that
situation, an exterior face is created at the cutoff distance normal
to the x, y, or z direction. For triclinic systems, the exterior face
is parallel to the corresponding reciprocal lattice vector.
NOTE: The Voro++ package performs its calculation in 3d. This will
still work for a 2d LAMMPS simulation, provided all the atoms have
the same z coordinate. The Voronoi cell of each atom will be
a columnar polyhedron with constant cross-sectional area
along the z direction and two exterior faces at the top and bottom of the
simulation box. If the atoms do not all
have the same z coordinate, then the columnar cells will be
accordingly distorted. The cross-sectional area of each Voronoi
cell can be obtained by dividing its volume by the z extent
of the simulation box. Note
that you define the z extent of the simulation box for 2d simulations
when using the "create_box"_create_box.html or
"read_data"_read_data.html commands.
still work for a 2d LAMMPS simulation, provided all the atoms have the
same z coordinate. The Voronoi cell of each atom will be a columnar
polyhedron with constant cross-sectional area along the z direction
and two exterior faces at the top and bottom of the simulation box. If
the atoms do not all have the same z coordinate, then the columnar
cells will be accordingly distorted. The cross-sectional area of each
Voronoi cell can be obtained by dividing its volume by the z extent of
the simulation box. Note that you define the z extent of the
simulation box for 2d simulations when using the
"create_box"_create_box.html or "read_data"_read_data.html commands.
[Output info:]
By default, this compute calculates a per-atom array with 2 columns. In regular
dynamic tessellation mode the first column is the Voronoi volume, the
second is the neighbor count, as described above (read above for the
output data in case the {occupation} keyword is specified).
These values can be accessed by any command that
uses per-atom values from a compute as input. See "Section_howto
By default, this compute calculates a per-atom array with 2
columns. In regular dynamic tessellation mode the first column is the
Voronoi volume, the second is the neighbor count, as described above
(read above for the output data in case the {occupation} keyword is
specified). These values can be accessed by any command that uses
per-atom values from a compute as input. See "Section_howto
15"_Section_howto.html#howto_15 for an overview of LAMMPS output
options. If the {peratom} keyword is set to "no", the
per-atom array is still created, but it is not accessible.
options. If the {peratom} keyword is set to "no", the per-atom array
is still created, but it is not accessible.
If the {edge_histo} keyword is used, then this compute
generates a global vector of length {maxedge}+1, containing
a histogram of the number of edges per face.
If the {edge_histo} keyword is used, then this compute generates a
global vector of length {maxedge}+1, containing a histogram of the
number of edges per face.
If the {neighbors} value is set to yes, then
this compute calculates a local array with 3 columns. There
is one row for each face of each Voronoi cell.
If the {neighbors} value is set to yes, then this compute calculates a
local array with 3 columns. There is one row for each face of each
Voronoi cell.
In LAMMPS contexts such as "compute reduce"_compute_reduce.html that can
accept either a per-atom vector quantity or a local vector
quantity, the behavior depends on the value gives for the {peratom}
keyword: for the default value "yes" the per-atom array is accessed,
for the value {no} the local array is accessed.
NOTE: Some LAMMPS commands such as the "compute
reduce"_compute_reduce.html command can accept either a per-atom or
local quantity. If this compute produces both quantities, the command
may access the per-atom quantity, even if you want to access the local
quantity. This effect can be eliminated by using the {peratom}
keyword to turn off the production of the per-atom quantities. For
the default value {yes} both quantities are produced. For the value
{no}, only the local array is produced.
The Voronoi cell volume will be in distance "units"_units.html cubed.
The Voronoi face area will be in distance "units"_units.html squared.
The Voronoi face area will be in distance "units"_units.html squared.
[Restrictions:]

File diff suppressed because one or more lines are too long