correct typos and remove duplicate text

This commit is contained in:
Steve Plimpton
2024-04-10 12:56:43 -06:00
parent 41591826fb
commit 120b861f80

View File

@ -105,6 +105,17 @@ particles of different styles
The pair styles currently defined for use with specific body styles
are listed in the sections below.
Note that for all the body styles, if the data file defines a general
triclinic box, then the orientation of the body particle and its
corresponding 6 moments of inertia and other orientation-dependent
values should reflect the fact the body is defined withing a general
triclinic box with edge vectors **A**,**B**,**C**. LAMMPS will rotate
the box to convert it to a restricted triclinic box. This operation
will also rotate the orientation of the body particles. See the
:doc:`Howto triclinic <Howto_triclinic>` doc page for more details.
The sections below highlight the orientation-dependent values specific
to each body style.
----------
**Specifics of body style nparticle:**
@ -161,14 +172,10 @@ center-of-mass position of the particle is specified by the x,y,z
values in the *Atoms* section of the data file, as is the total mass
of the body particle.
If the data file defines a general triclinic box, then the orientation
of the body particle and its corresponding 6 moments of inertia and
sub-particle displacements should reflect the fact the body is defined
withing a general triclinic box with edge vectors **A**,**B**,**C**.
LAMMPS will rotate the box to convert it to a restricted triclinic
box. This operation will also rotate the orientation of the body
particles. See the :doc:`Howto triclinic <Howto_triclinic>` doc page
for more details.
Note that if the data file defines a general triclinic simulation box,
these sub-particle displacements are orientation-dependent and, as
mentioned above, should reflect the body particle's orientation within
the general triclinic box.
The :doc:`pair_style body/nparticle <pair_body_nparticle>` command can be used
with this body style to compute body/body and body/non-body interactions.
@ -281,14 +288,10 @@ A disk, whose diameter is 3.0, mass 1.0, is specified as follows:
0 0 0
3.0
If the data file defines a general triclinic box, then the orientation
of the body particle and its corresponding 6 moments of inertia and
polygon vertex displacements should reflect the fact the body is
defined withing a general triclinic box with edge vectors
**A**,**B**,**C**. LAMMPS will rotate the box to convert it to a
restricted triclinic box. This operation will also rotate the
orientation of the body particles. See the :doc:`Howto triclinic
<Howto_triclinic>` doc page for more details.
Note that if the data file defines a general triclinic simulation box,
these polygon vertex displacements are orientation-dependent and, as
mentioned above, should reflect the body particle's orientation within
the general triclinic box.
The :doc:`pair_style body/rounded/polygon <pair_body_rounded_polygon>`
command can be used with this body style to compute body/body
@ -456,14 +459,10 @@ A sphere whose diameter is 3.0 and mass 1.0, is specified as follows:
The number of edges and faces for a rod or sphere must be listed,
but is ignored.
If the data file defines a general triclinic box, then the orientation
of the body particle and its corresponding 6 moments of inertia and
polyhedron vertex displacements should reflect the fact the body is
defined withing a general triclinic box with edge vectors
**A**,**B**,**C**. LAMMPS will rotate the box to convert it to a
restricted triclinic box. This operation will also rotate the
orientation of the body particles. See the :doc:`Howto triclinic
<Howto_triclinic>` doc page for more details.
Note that if the data file defines a general triclinic simulation box,
these polyhedron vertex displacements are orientation-dependent and,
as mentioned above, should reflect the body particle's orientation
within the general triclinic box.
The :doc:`pair_style body/rounded/polhedron
<pair_body_rounded_polyhedron>` command can be used with this body