Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
13a3caa8
Commit
13a3caa8
authored
10 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@11826
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
d223faee
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/compute_voronoi_atom.html
+33
-12
33 additions, 12 deletions
doc/compute_voronoi_atom.html
doc/compute_voronoi_atom.txt
+32
-12
32 additions, 12 deletions
doc/compute_voronoi_atom.txt
with
65 additions
and
24 deletions
doc/compute_voronoi_atom.html
+
33
−
12
View file @
13a3caa8
...
@@ -24,13 +24,14 @@
...
@@ -24,13 +24,14 @@
<LI>
keyword =
<I>
only_group
</I>
or
<I>
surface
</I>
or
<I>
radius
</I>
or
<I>
edge_histo
</I>
or
<I>
edge_threshold
</I>
or
<I>
face_threshold
</I>
<LI>
keyword =
<I>
only_group
</I>
or
<I>
surface
</I>
or
<I>
radius
</I>
or
<I>
edge_histo
</I>
or
<I>
edge_threshold
</I>
or
<I>
face_threshold
</I>
<PRE>
<I>
only_group
</I>
= no arg
<PRE>
<I>
only_group
</I>
= no arg
<I>
occupation
</I>
= no arg
<I>
surface
</I>
arg = sgroup-ID
<I>
surface
</I>
arg = sgroup-ID
sgroup-ID = compute the dividing surface between group-ID and sgroup-ID
sgroup-ID = compute the dividing surface between group-ID and sgroup-ID
this keyword adds a third column to the compute output
this keyword adds a third column to the compute output
<I>
radius
</I>
arg = v_r
<I>
radius
</I>
arg = v_r
v_r = radius atom style variable for a poly-disperse
v
oronoi tessellation
v_r = radius atom style variable for a poly-disperse
V
oronoi tessellation
<I>
edge_histo
</I>
arg = maxedge
<I>
edge_histo
</I>
arg = maxedge
maxedge = maximum number of
v
oronoi cell edges to be accounted in the histogram
maxedge = maximum number of
V
oronoi cell edges to be accounted in the histogram
<I>
edge_threshold
</I>
arg = minlength
<I>
edge_threshold
</I>
arg = minlength
minlength = minimum length for an edge to be counted
minlength = minimum length for an edge to be counted
<I>
face_threshold
</I>
arg = minarea
<I>
face_threshold
</I>
arg = minarea
...
@@ -45,6 +46,8 @@ compute 2 precipitate voronoi/atom surface matrix
...
@@ -45,6 +46,8 @@ compute 2 precipitate voronoi/atom surface matrix
compute 3b precipitate voronoi/atom radius v_r
compute 3b precipitate voronoi/atom radius v_r
compute 4 solute voronoi/atom only_group
compute 4 solute voronoi/atom only_group
</PRE>
</PRE>
<PRE>
compute 5 defects voronoi/atom occupation
</PRE>
<P><B>
Description:
</B>
<P><B>
Description:
</B>
</P>
</P>
<P>
Define a computation that calculates the Voronoi tessellation of the
<P>
Define a computation that calculates the Voronoi tessellation of the
...
@@ -66,19 +69,19 @@ equivalent to deleting all atoms not contained in the group prior to
...
@@ -66,19 +69,19 @@ equivalent to deleting all atoms not contained in the group prior to
evaluating the tessellation.
evaluating the tessellation.
</P>
</P>
<P>
If the
<I>
surface
</I>
keyword is specified a third quantity per atom is
<P>
If the
<I>
surface
</I>
keyword is specified a third quantity per atom is
computed: the
v
oronoi cell surface of the given atom.
<I>
surface
</I>
takes
computed: the
V
oronoi cell surface of the given atom.
<I>
surface
</I>
takes
a group ID as an argument. If a group other than
<I>
all
</I>
is specified,
a group ID as an argument. If a group other than
<I>
all
</I>
is specified,
only the
v
oronoi cell facets facing a neighbor atom from the specified
only the
V
oronoi cell facets facing a neighbor atom from the specified
group are counted towards the surface area.
group are counted towards the surface area.
</P>
</P>
<P>
In the example above, a precipitate embedded in a matrix, only atoms
<P>
In the example above, a precipitate embedded in a matrix, only atoms
at the surface of the precipitate will have non-zero surface area, and
at the surface of the precipitate will have non-zero surface area, and
only the outward facing facets of the
v
oronoi cells are counted (the
only the outward facing facets of the
V
oronoi cells are counted (the
hull of the precipitate). The total surface area of the precipitate
hull of the precipitate). The total surface area of the precipitate
can be obtained by running a "reduce sum" compute on c_2[3]
can be obtained by running a "reduce sum" compute on c_2[3]
</P>
</P>
<P>
If the
<I>
radius
</I>
keyword is specified with an atom style variable as
<P>
If the
<I>
radius
</I>
keyword is specified with an atom style variable as
the argument, a poly-disperse
v
oronoi tessellation is
the argument, a poly-disperse
V
oronoi tessellation is
performed. Examples for radius variables are
performed. Examples for radius variables are
</P>
</P>
<PRE>
variable r1 atom (type==1)*0.1+(type==2)*0.4
<PRE>
variable r1 atom (type==1)*0.1+(type==2)*0.4
...
@@ -90,9 +93,9 @@ and 0.4 units for type 2 atoms, and v_r2 accesses the radius property
...
@@ -90,9 +93,9 @@ and 0.4 units for type 2 atoms, and v_r2 accesses the radius property
present in atom_style sphere for granular models.
present in atom_style sphere for granular models.
</P>
</P>
<P>
The
<I>
edge_histo
</I>
keyword activates the compilation of a histogram of
<P>
The
<I>
edge_histo
</I>
keyword activates the compilation of a histogram of
number of edges on the faces of the
v
oronoi cells in the compute
number of edges on the faces of the
V
oronoi cells in the compute
group. The argument maxedge of the this keyword is the largest number
group. The argument maxedge of the this keyword is the largest number
of edges on a single
v
oronoi cell face expected to occur in the
of edges on a single
V
oronoi cell face expected to occur in the
sample. This keyword adds the generation of a global vector with
sample. This keyword adds the generation of a global vector with
maxedge+1 entries. The last entry in the vector contains the number of
maxedge+1 entries. The last entry in the vector contains the number of
faces with with more than maxedge edges. Since the polygon with the
faces with with more than maxedge edges. Since the polygon with the
...
@@ -102,9 +105,25 @@ will always be zero.
...
@@ -102,9 +105,25 @@ will always be zero.
<P>
The
<I>
edge_threshold
</I>
and
<I>
face_threshold
</I>
keywords allow the
<P>
The
<I>
edge_threshold
</I>
and
<I>
face_threshold
</I>
keywords allow the
suppression of edges below a given minimum length and faces below a
suppression of edges below a given minimum length and faces below a
given minimum area. Ultra short edges and ultra small faces can occur
given minimum area. Ultra short edges and ultra small faces can occur
as artifacts of the
v
oronoi tessellation. These keywords will affect
as artifacts of the
V
oronoi tessellation. These keywords will affect
the neighbor count and edge histogram outputs.
the neighbor count and edge histogram outputs.
</P>
</P>
<P>
If the
<I>
occupation
</I>
keyword is specified the tessellation is only
performed for the first invocation of the compute and then stored.
For all following invocations of the compute the number of atoms in
each Voronoi cell in the stored tessellation is counted. In this mode
the compute returns a per-atom array with 2 columns. The first column
is the number of atoms currently in the Voronoi volume defined by this
atom at the time of the first invocation of the compute (note that the
atom may have moved significantly). The second column contains the
total number of atoms sharing the Voronoi cell of the stored
tessellation at the location of the current atom. Numbers in column one
can be any positive integer including zero, while column two values will
always be greater than zero. Column one data can be used to locate
vacancies (the coordinates are given by the atom coordinates at the
time step when the compute was first invoked), while column two data
can be used to identify interstitial atoms.
</P>
<HR>
<HR>
<P>
The Voronoi calculation is performed by the freely available
<A
HREF =
"http://math.lbl.gov/voro++"
>
Voro++
<P>
The Voronoi calculation is performed by the freely available
<A
HREF =
"http://math.lbl.gov/voro++"
>
Voro++
...
@@ -138,9 +157,11 @@ systems. Note that you define the z extent of the simulation box for
...
@@ -138,9 +157,11 @@ systems. Note that you define the z extent of the simulation box for
</P>
</P>
<P><B>
Output info:
</B>
<P><B>
Output info:
</B>
</P>
</P>
<P>
This compute calculates a per-atom array with 2 columns. The first
<P>
This compute calculates a per-atom array with 2 columns. In regular
column is the Voronoi volume, the second is the neighbor count, as
dynamic tessellation mode the first column is the Voronoi volume, the
described above. These values can be accessed by any command that
second is the neighbor count, as described above (read above for the
output data in case the
<I>
occupation
</I>
keyword is specified).
These values can be accessed by any command that
uses per-atom values from a compute as input. See
<A
HREF =
"Section_howto.html#howto_15"
>
Section_howto
uses per-atom values from a compute as input. See
<A
HREF =
"Section_howto.html#howto_15"
>
Section_howto
15
</A>
for an overview of LAMMPS output
15
</A>
for an overview of LAMMPS output
options.
options.
...
...
This diff is collapsed.
Click to expand it.
doc/compute_voronoi_atom.txt
+
32
−
12
View file @
13a3caa8
...
@@ -17,13 +17,14 @@ voronoi/atom = style name of this compute command :l
...
@@ -17,13 +17,14 @@ voronoi/atom = style name of this compute command :l
zero or more keyword/value pairs may be appended :l
zero or more keyword/value pairs may be appended :l
keyword = {only_group} or {surface} or {radius} or {edge_histo} or {edge_threshold} or {face_threshold} :l
keyword = {only_group} or {surface} or {radius} or {edge_histo} or {edge_threshold} or {face_threshold} :l
{only_group} = no arg
{only_group} = no arg
{occupation} = no arg
{surface} arg = sgroup-ID
{surface} arg = sgroup-ID
sgroup-ID = compute the dividing surface between group-ID and sgroup-ID
sgroup-ID = compute the dividing surface between group-ID and sgroup-ID
this keyword adds a third column to the compute output
this keyword adds a third column to the compute output
{radius} arg = v_r
{radius} arg = v_r
v_r = radius atom style variable for a poly-disperse
v
oronoi tessellation
v_r = radius atom style variable for a poly-disperse
V
oronoi tessellation
{edge_histo} arg = maxedge
{edge_histo} arg = maxedge
maxedge = maximum number of
v
oronoi cell edges to be accounted in the histogram
maxedge = maximum number of
V
oronoi cell edges to be accounted in the histogram
{edge_threshold} arg = minlength
{edge_threshold} arg = minlength
minlength = minimum length for an edge to be counted
minlength = minimum length for an edge to be counted
{face_threshold} arg = minarea
{face_threshold} arg = minarea
...
@@ -36,6 +37,7 @@ compute 1 all voronoi/atom
...
@@ -36,6 +37,7 @@ compute 1 all voronoi/atom
compute 2 precipitate voronoi/atom surface matrix
compute 2 precipitate voronoi/atom surface matrix
compute 3b precipitate voronoi/atom radius v_r
compute 3b precipitate voronoi/atom radius v_r
compute 4 solute voronoi/atom only_group :pre
compute 4 solute voronoi/atom only_group :pre
compute 5 defects voronoi/atom occupation :pre
[Description:]
[Description:]
...
@@ -58,19 +60,19 @@ equivalent to deleting all atoms not contained in the group prior to
...
@@ -58,19 +60,19 @@ equivalent to deleting all atoms not contained in the group prior to
evaluating the tessellation.
evaluating the tessellation.
If the {surface} keyword is specified a third quantity per atom is
If the {surface} keyword is specified a third quantity per atom is
computed: the
v
oronoi cell surface of the given atom. {surface} takes
computed: the
V
oronoi cell surface of the given atom. {surface} takes
a group ID as an argument. If a group other than {all} is specified,
a group ID as an argument. If a group other than {all} is specified,
only the
v
oronoi cell facets facing a neighbor atom from the specified
only the
V
oronoi cell facets facing a neighbor atom from the specified
group are counted towards the surface area.
group are counted towards the surface area.
In the example above, a precipitate embedded in a matrix, only atoms
In the example above, a precipitate embedded in a matrix, only atoms
at the surface of the precipitate will have non-zero surface area, and
at the surface of the precipitate will have non-zero surface area, and
only the outward facing facets of the
v
oronoi cells are counted (the
only the outward facing facets of the
V
oronoi cells are counted (the
hull of the precipitate). The total surface area of the precipitate
hull of the precipitate). The total surface area of the precipitate
can be obtained by running a "reduce sum" compute on c_2\[3\]
can be obtained by running a "reduce sum" compute on c_2\[3\]
If the {radius} keyword is specified with an atom style variable as
If the {radius} keyword is specified with an atom style variable as
the argument, a poly-disperse
v
oronoi tessellation is
the argument, a poly-disperse
V
oronoi tessellation is
performed. Examples for radius variables are
performed. Examples for radius variables are
variable r1 atom (type==1)*0.1+(type==2)*0.4
variable r1 atom (type==1)*0.1+(type==2)*0.4
...
@@ -82,9 +84,9 @@ and 0.4 units for type 2 atoms, and v_r2 accesses the radius property
...
@@ -82,9 +84,9 @@ and 0.4 units for type 2 atoms, and v_r2 accesses the radius property
present in atom_style sphere for granular models.
present in atom_style sphere for granular models.
The {edge_histo} keyword activates the compilation of a histogram of
The {edge_histo} keyword activates the compilation of a histogram of
number of edges on the faces of the
v
oronoi cells in the compute
number of edges on the faces of the
V
oronoi cells in the compute
group. The argument maxedge of the this keyword is the largest number
group. The argument maxedge of the this keyword is the largest number
of edges on a single
v
oronoi cell face expected to occur in the
of edges on a single
V
oronoi cell face expected to occur in the
sample. This keyword adds the generation of a global vector with
sample. This keyword adds the generation of a global vector with
maxedge+1 entries. The last entry in the vector contains the number of
maxedge+1 entries. The last entry in the vector contains the number of
faces with with more than maxedge edges. Since the polygon with the
faces with with more than maxedge edges. Since the polygon with the
...
@@ -94,9 +96,25 @@ will always be zero.
...
@@ -94,9 +96,25 @@ will always be zero.
The {edge_threshold} and {face_threshold} keywords allow the
The {edge_threshold} and {face_threshold} keywords allow the
suppression of edges below a given minimum length and faces below a
suppression of edges below a given minimum length and faces below a
given minimum area. Ultra short edges and ultra small faces can occur
given minimum area. Ultra short edges and ultra small faces can occur
as artifacts of the
v
oronoi tessellation. These keywords will affect
as artifacts of the
V
oronoi tessellation. These keywords will affect
the neighbor count and edge histogram outputs.
the neighbor count and edge histogram outputs.
If the {occupation} keyword is specified the tessellation is only
performed for the first invocation of the compute and then stored.
For all following invocations of the compute the number of atoms in
each Voronoi cell in the stored tessellation is counted. In this mode
the compute returns a per-atom array with 2 columns. The first column
is the number of atoms currently in the Voronoi volume defined by this
atom at the time of the first invocation of the compute (note that the
atom may have moved significantly). The second column contains the
total number of atoms sharing the Voronoi cell of the stored
tessellation at the location of the current atom. Numbers in column
one can be any positive integer including zero, while column two
values will always be greater than zero. Column one data can be used
to locate vacancies (the coordinates are given by the atom coordinates
at the time step when the compute was first invoked), while column two
data can be used to identify interstitial atoms.
:line
:line
The Voronoi calculation is performed by the freely available "Voro++
The Voronoi calculation is performed by the freely available "Voro++
...
@@ -130,9 +148,11 @@ systems. Note that you define the z extent of the simulation box for
...
@@ -130,9 +148,11 @@ systems. Note that you define the z extent of the simulation box for
[Output info:]
[Output info:]
This compute calculates a per-atom array with 2 columns. The first
This compute calculates a per-atom array with 2 columns. In regular
column is the Voronoi volume, the second is the neighbor count, as
dynamic tessellation mode the first column is the Voronoi volume, the
described above. These values can be accessed by any command that
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
uses per-atom values from a compute as input. See "Section_howto
15"_Section_howto.html#howto_15 for an overview of LAMMPS output
15"_Section_howto.html#howto_15 for an overview of LAMMPS output
options.
options.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment