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

This commit is contained in:
sjplimp
2009-06-26 18:22:33 +00:00
parent d5d81501b3
commit 3df8b6e355
30 changed files with 254 additions and 112 deletions

View File

@ -30,7 +30,9 @@ shape 2* 3.0 1.0 1.0
</P>
<P>Set the shape for all atoms of one or more atom types. In LAMMPS,
particles that have a finite size are said to have a "shape", as
opposed to being a point mass. Shape values can also be set in the
opposed to being a point mass. The shape can be spherical or
aspherical, depending on whether the 3 shape values are the same or
different. Shape values can also be set in the
<A HREF = "read_data.html">read_data</A> data file using the "Shapes" keyword. See
the <A HREF = "units.html">units</A> command for what distance units to use.
</P>
@ -52,10 +54,11 @@ the line that corresponds to the 1st example above would be listed as
</P>
<PRE>1 1.0 1.0 1.0
</PRE>
<P>The shape values can be set to 0.0, which means that atoms of that
type are point masses and not finite-size particles. Pair styles and
fixes that rely on particles having a finite size should not be used
for such particles.
<P>The shape values can be set to all 0.0, which means that atoms of that
type are point particles and not finite-size particles. Some pair
styles and fixes and computes that operate on finite-size particles
allow for a mixture of finite-size and point particles. See the doc
pages of individual commands for details.
</P>
<P>Note that the shape command can only be used if the <A HREF = "atom_style.html">atom
style</A> requires per-type atom shape to be set.
@ -81,10 +84,10 @@ all 3 shape components the same.
</P>
<P>If you define a <A HREF = "atom_style.html">hybrid atom style</A> which includes one
(or more) sub-styles which require per-type shape and one (or more)
sub-styles which require per-atom shape, then you must define both.
If the per-atom diameter is set to 0.0, the per-type shape is used.
If the per-atom diameter is non-zero, then the per-type shape is
ignored.
sub-styles which require per-atom diameter, then you must define both.
In this case the per-type shape will be ignored; only the per-atom
diameter will be used by LAMMPS. Note that this means you can not
currently mix aspherical particles with per-atom diameter particles.
</P>
<P><B>Restrictions:</B>
</P>