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 The pair styles currently defined for use with specific body styles
are listed in the sections below. 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:** **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 values in the *Atoms* section of the data file, as is the total mass
of the body particle. of the body particle.
If the data file defines a general triclinic box, then the orientation Note that if the data file defines a general triclinic simulation box,
of the body particle and its corresponding 6 moments of inertia and these sub-particle displacements are orientation-dependent and, as
sub-particle displacements should reflect the fact the body is defined mentioned above, should reflect the body particle's orientation within
withing a general triclinic box with edge vectors **A**,**B**,**C**. the general triclinic box.
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 :doc:`pair_style body/nparticle <pair_body_nparticle>` command can be used 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. 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 0 0 0
3.0 3.0
If the data file defines a general triclinic box, then the orientation Note that if the data file defines a general triclinic simulation box,
of the body particle and its corresponding 6 moments of inertia and these polygon vertex displacements are orientation-dependent and, as
polygon vertex displacements should reflect the fact the body is mentioned above, should reflect the body particle's orientation within
defined withing a general triclinic box with edge vectors the general triclinic box.
**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 :doc:`pair_style body/rounded/polygon <pair_body_rounded_polygon>` The :doc:`pair_style body/rounded/polygon <pair_body_rounded_polygon>`
command can be used with this body style to compute body/body 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, The number of edges and faces for a rod or sphere must be listed,
but is ignored. but is ignored.
If the data file defines a general triclinic box, then the orientation Note that if the data file defines a general triclinic simulation box,
of the body particle and its corresponding 6 moments of inertia and these polyhedron vertex displacements are orientation-dependent and,
polyhedron vertex displacements should reflect the fact the body is as mentioned above, should reflect the body particle's orientation
defined withing a general triclinic box with edge vectors within the general triclinic box.
**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 :doc:`pair_style body/rounded/polhedron The :doc:`pair_style body/rounded/polhedron
<pair_body_rounded_polyhedron>` command can be used with this body <pair_body_rounded_polyhedron>` command can be used with this body