git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9363 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -125,7 +125,7 @@ in the <I>Bodies</I> section of the data file:
|
|||||||
N
|
N
|
||||||
x1 y1 z1 ...
|
x1 y1 z1 ...
|
||||||
...
|
...
|
||||||
xN yN zN
|
... xN yN zN
|
||||||
</PRE>
|
</PRE>
|
||||||
<P>N is the number of sub-particles in the body particle. M = 3*N. The
|
<P>N is the number of sub-particles in the body particle. M = 3*N. The
|
||||||
integer line has a single value N. The floating point line(s) list
|
integer line has a single value N. The floating point line(s) list
|
||||||
@ -133,24 +133,24 @@ the coordinates of the N sub-particles (x1 to zN) as 3N values on as
|
|||||||
many lines as required. Note that this in not N lines, but 10 values
|
many lines as required. Note that this in not N lines, but 10 values
|
||||||
per line; see the <A HREF = "read_data.html">read_data</A> command for details. The
|
per line; see the <A HREF = "read_data.html">read_data</A> command for details. The
|
||||||
coordinates of each sub-particle are specified as its x,y,z
|
coordinates of each sub-particle are specified as its x,y,z
|
||||||
displacement from the center-of-mass of the body particle, which is
|
displacement from the center-of-mass of the body particle, which in
|
||||||
specified as its coordinates in the <I>Atoms</I> section of the data file.
|
turn is given in the <I>Atoms</I> section of the data file.
|
||||||
</P>
|
</P>
|
||||||
<P>The <A HREF = "pair_body.html">pair_style body</A> command can be used with this
|
<P>The <A HREF = "pair_body.html">pair_style body</A> command can be used with this
|
||||||
body style to compute body/body and body/non-body interactions.
|
body style to compute body/body and body/non-body interactions.
|
||||||
</P>
|
</P>
|
||||||
<P>For output purposes via the compute body/local and dump local
|
<P>For output purposes via the <A HREF = "compute_body_local.html">compute
|
||||||
commands, this body style produces one datum for each sub-particle in
|
body/local</A> and <A HREF = "dump.html">dump local</A>
|
||||||
a body particle. The datum has 3 values:
|
commands, this body style produces one datum for each of the N
|
||||||
|
sub-particles in a body particle. The datum has 3 values:
|
||||||
</P>
|
</P>
|
||||||
<P>1 = x position of sub-particle
|
<PRE>1 = x position of sub-particle
|
||||||
2 = y position of sub-particle
|
2 = y position of sub-particle
|
||||||
3 = z position of sub-particle
|
3 = z position of sub-particle
|
||||||
</P>
|
</PRE>
|
||||||
<P>These are the current position of the sub-particle within the
|
<P>These values are the current position of the sub-particle within the
|
||||||
simulation domain, not a displacement from the center-of-mass (COM) of
|
simulation domain, not a displacement from the center-of-mass (COM) of
|
||||||
the body particle itself. These values are calculated using the
|
the body particle itself. These values are calculated using the
|
||||||
current COM and orientiation of the body particle, and the
|
current COM and orientiation of the body particle.
|
||||||
displacement of the sub-particle from the COM.
|
|
||||||
</P>
|
</P>
|
||||||
</HTML>
|
</HTML>
|
||||||
|
|||||||
20
doc/body.txt
20
doc/body.txt
@ -118,7 +118,7 @@ atom-ID 1 M
|
|||||||
N
|
N
|
||||||
x1 y1 z1 ...
|
x1 y1 z1 ...
|
||||||
...
|
...
|
||||||
xN yN zN :pre
|
... xN yN zN :pre
|
||||||
|
|
||||||
N is the number of sub-particles in the body particle. M = 3*N. The
|
N is the number of sub-particles in the body particle. M = 3*N. The
|
||||||
integer line has a single value N. The floating point line(s) list
|
integer line has a single value N. The floating point line(s) list
|
||||||
@ -126,22 +126,22 @@ the coordinates of the N sub-particles (x1 to zN) as 3N values on as
|
|||||||
many lines as required. Note that this in not N lines, but 10 values
|
many lines as required. Note that this in not N lines, but 10 values
|
||||||
per line; see the "read_data"_read_data.html command for details. The
|
per line; see the "read_data"_read_data.html command for details. The
|
||||||
coordinates of each sub-particle are specified as its x,y,z
|
coordinates of each sub-particle are specified as its x,y,z
|
||||||
displacement from the center-of-mass of the body particle, which is
|
displacement from the center-of-mass of the body particle, which in
|
||||||
specified as its coordinates in the {Atoms} section of the data file.
|
turn is given in the {Atoms} section of the data file.
|
||||||
|
|
||||||
The "pair_style body"_pair_body.html command can be used with this
|
The "pair_style body"_pair_body.html command can be used with this
|
||||||
body style to compute body/body and body/non-body interactions.
|
body style to compute body/body and body/non-body interactions.
|
||||||
|
|
||||||
For output purposes via the compute body/local and dump local
|
For output purposes via the "compute
|
||||||
commands, this body style produces one datum for each sub-particle in
|
body/local"_compute_body_local.html and "dump local"_dump.html
|
||||||
a body particle. The datum has 3 values:
|
commands, this body style produces one datum for each of the N
|
||||||
|
sub-particles in a body particle. The datum has 3 values:
|
||||||
|
|
||||||
1 = x position of sub-particle
|
1 = x position of sub-particle
|
||||||
2 = y position of sub-particle
|
2 = y position of sub-particle
|
||||||
3 = z position of sub-particle
|
3 = z position of sub-particle :pre
|
||||||
|
|
||||||
These are the current position of the sub-particle within the
|
These values are the current position of the sub-particle within the
|
||||||
simulation domain, not a displacement from the center-of-mass (COM) of
|
simulation domain, not a displacement from the center-of-mass (COM) of
|
||||||
the body particle itself. These values are calculated using the
|
the body particle itself. These values are calculated using the
|
||||||
current COM and orientiation of the body particle, and the
|
current COM and orientiation of the body particle.
|
||||||
displacement of the sub-particle from the COM.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user