mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1506 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
b834e54c1d
commit
944bc255c3
|
@ -333,9 +333,10 @@ descriptions of each style or click on the style itself for a full
|
|||
description:
|
||||
</P>
|
||||
<DIV ALIGN=center><TABLE BORDER=1 >
|
||||
<TR ALIGN="center"><TD ><A HREF = "compute_centro_atom.html">centro/atom</A></TD><TD ><A HREF = "compute_coord_atom.html">coord/atom</A></TD><TD ><A HREF = "compute_displace_atom.html">displace/atom</A></TD><TD ><A HREF = "compute_ke_atom.html">ke/atom</A></TD><TD ><A HREF = "compute_pe.html">pe</A></TD><TD ><A HREF = "compute_pe_atom.html">pe/atom</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "compute_pressure.html">pressure</A></TD><TD ><A HREF = "compute_rotate_dipole.html">rotate/dipole</A></TD><TD ><A HREF = "compute_rotate_gran.html">rotate/gran</A></TD><TD ><A HREF = "compute_stress_atom.html">stress/atom</A></TD><TD ><A HREF = "compute_sum.html">sum</A></TD><TD ><A HREF = "compute_temp.html">temp</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "compute_temp_asphere.html">temp/asphere</A></TD><TD ><A HREF = "compute_temp_deform.html">temp/deform</A></TD><TD ><A HREF = "compute_temp_dipole.html">temp/dipole</A></TD><TD ><A HREF = "compute_temp_partial.html">temp/partial</A></TD><TD ><A HREF = "compute_temp_ramp.html">temp/ramp</A></TD><TD ><A HREF = "compute_temp_region.html">temp/region</A>
|
||||
<TR ALIGN="center"><TD ><A HREF = "compute_centro_atom.html">centro/atom</A></TD><TD ><A HREF = "compute_coord_atom.html">coord/atom</A></TD><TD ><A HREF = "compute_displace_atom.html">displace/atom</A></TD><TD ><A HREF = "compute_group_group.html">group/group</A></TD><TD ><A HREF = "compute_ke_atom.html">ke/atom</A></TD><TD ><A HREF = "compute_pe.html">pe</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "compute_pe_atom.html">pe/atom</A></TD><TD ><A HREF = "compute_pressure.html">pressure</A></TD><TD ><A HREF = "compute_rotate_dipole.html">rotate/dipole</A></TD><TD ><A HREF = "compute_rotate_gran.html">rotate/gran</A></TD><TD ><A HREF = "compute_stress_atom.html">stress/atom</A></TD><TD ><A HREF = "compute_sum.html">sum</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "compute_temp.html">temp</A></TD><TD ><A HREF = "compute_temp_asphere.html">temp/asphere</A></TD><TD ><A HREF = "compute_temp_deform.html">temp/deform</A></TD><TD ><A HREF = "compute_temp_dipole.html">temp/dipole</A></TD><TD ><A HREF = "compute_temp_partial.html">temp/partial</A></TD><TD ><A HREF = "compute_temp_ramp.html">temp/ramp</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "compute_temp_region.html">temp/region</A>
|
||||
</TD></TR></TABLE></DIV>
|
||||
|
||||
<P>These are compute styles contributed by users, which can be used if
|
||||
|
|
|
@ -441,6 +441,7 @@ description:
|
|||
"centro/atom"_compute_centro_atom.html,
|
||||
"coord/atom"_compute_coord_atom.html,
|
||||
"displace/atom"_compute_displace_atom.html,
|
||||
"group/group"_compute_group_group.html,
|
||||
"ke/atom"_compute_ke_atom.html,
|
||||
"pe"_compute_pe.html,
|
||||
"pe/atom"_compute_pe_atom.html,
|
||||
|
|
|
@ -112,6 +112,7 @@ available in LAMMPS:
|
|||
<UL><LI><A HREF = "compute_centro_atom.html">centro/atom</A> - centro-symmetry parameter for each atom
|
||||
<LI><A HREF = "compute_coord_atom.html">coord/atom</A> - coordination number for each atom
|
||||
<LI><A HREF = "compute_displace_atom.html">displace/atom</A> - displacement of each atom
|
||||
<LI><A HREF = "compute_group_group.html">group/group</A> - energy/force between two groups of atoms
|
||||
<LI><A HREF = "compute_ke_atom.html">ke/atom</A> - kinetic energy for each atom
|
||||
<LI><A HREF = "compute_pe.html">pe</A> - potential energy
|
||||
<LI><A HREF = "compute_pe_atom.html">pe/atom</A> - potential energy for each atom
|
||||
|
|
|
@ -109,6 +109,7 @@ available in LAMMPS:
|
|||
"centro/atom"_compute_centro_atom.html - centro-symmetry parameter for each atom
|
||||
"coord/atom"_compute_coord_atom.html - coordination number for each atom
|
||||
"displace/atom"_compute_displace_atom.html - displacement of each atom
|
||||
"group/group"_compute_group_group.html - energy/force between two groups of atoms
|
||||
"ke/atom"_compute_ke_atom.html - kinetic energy for each atom
|
||||
"pe"_compute_pe.html - potential energy
|
||||
"pe/atom"_compute_pe_atom.html - potential energy for each atom
|
||||
|
|
|
@ -0,0 +1,67 @@
|
|||
<HTML>
|
||||
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
|
||||
</CENTER>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR>
|
||||
|
||||
<H3>compute group/group command
|
||||
</H3>
|
||||
<P><B>Syntax:</B>
|
||||
</P>
|
||||
<PRE>compute ID group-ID group/group group2-ID
|
||||
</PRE>
|
||||
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
|
||||
<LI>group/group = style name of this compute command
|
||||
<LI>group2-ID = group ID of second (or same) group
|
||||
</UL>
|
||||
<P><B>Examples:</B>
|
||||
</P>
|
||||
<PRE>compute 1 lower group/group upper
|
||||
compute mine fluid group/group wall
|
||||
</PRE>
|
||||
<P><B>Description:</B>
|
||||
</P>
|
||||
<P>Define a computation that calculates the total energy and force
|
||||
interaction between two groups of atoms: the compute group and the
|
||||
specified group2. The two groups can be the same. The interaction
|
||||
energy is defined as the pairwise energy between all pairs of atoms
|
||||
where one atom in the pair is in the first group and the other is in
|
||||
the second group. Likewise, the interaction force calculated by this
|
||||
compute is the force on the compute group atoms due to pairwise
|
||||
interactions with atoms in the specified group2.
|
||||
</P>
|
||||
<P>The energy and force are calculated by looping over a neighbor list of
|
||||
pairwise interactions. Thus it can be inefficient to compute this
|
||||
quantity too frequently.
|
||||
</P>
|
||||
<P><B>Output info:</B>
|
||||
</P>
|
||||
<P>The interaction energy calculated by this compute is a scalar
|
||||
quantity. The interaction force is a vector of length 3. Both the
|
||||
scalar and vector values calculated by this compute are "extensive",
|
||||
meaning they scale with the number of atoms in the simulation.
|
||||
</P>
|
||||
<P><B>Restrictions:</B>
|
||||
</P>
|
||||
<P>Only pairwise interactions, as defined by the
|
||||
<A HREF = "pair_style.html">pair_style</A> command, are included in this
|
||||
calculation. Bond (angle, dihedral, etc) interactions between atoms
|
||||
in the two groups are not included. Long-range interactions due to a
|
||||
<A HREF = "kspace_style.html">kspace_style</A> command are also not included. Not
|
||||
all pair potentials can be evaluated in a pairwise mode as required by
|
||||
this compute. For example, 3-body potentials, such as
|
||||
<A HREF = "pair_tersoff.html">Tersoff</A> and <A HREF = "pair_sw.html">Stillinger-Weber</A> cannot
|
||||
be used. <A HREF = "pair_eam.html">EAM</A> potentials for metals only include the
|
||||
pair potential portion of the EAM interaction, not the embedding
|
||||
term.
|
||||
</P>
|
||||
<P><B>Related commands:</B> none
|
||||
</P>
|
||||
<P><B>Default:</B> none
|
||||
</P>
|
||||
</HTML>
|
|
@ -0,0 +1,62 @@
|
|||
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
||||
|
||||
:link(lws,http://lammps.sandia.gov)
|
||||
:link(ld,Manual.html)
|
||||
:link(lc,Section_commands.html#comm)
|
||||
|
||||
:line
|
||||
|
||||
compute group/group command :h3
|
||||
|
||||
[Syntax:]
|
||||
|
||||
compute ID group-ID group/group group2-ID :pre
|
||||
|
||||
ID, group-ID are documented in "compute"_compute.html command
|
||||
group/group = style name of this compute command
|
||||
group2-ID = group ID of second (or same) group :ul
|
||||
|
||||
[Examples:]
|
||||
|
||||
compute 1 lower group/group upper
|
||||
compute mine fluid group/group wall :pre
|
||||
|
||||
[Description:]
|
||||
|
||||
Define a computation that calculates the total energy and force
|
||||
interaction between two groups of atoms: the compute group and the
|
||||
specified group2. The two groups can be the same. The interaction
|
||||
energy is defined as the pairwise energy between all pairs of atoms
|
||||
where one atom in the pair is in the first group and the other is in
|
||||
the second group. Likewise, the interaction force calculated by this
|
||||
compute is the force on the compute group atoms due to pairwise
|
||||
interactions with atoms in the specified group2.
|
||||
|
||||
The energy and force are calculated by looping over a neighbor list of
|
||||
pairwise interactions. Thus it can be inefficient to compute this
|
||||
quantity too frequently.
|
||||
|
||||
[Output info:]
|
||||
|
||||
The interaction energy calculated by this compute is a scalar
|
||||
quantity. The interaction force is a vector of length 3. Both the
|
||||
scalar and vector values calculated by this compute are "extensive",
|
||||
meaning they scale with the number of atoms in the simulation.
|
||||
|
||||
[Restrictions:]
|
||||
|
||||
Only pairwise interactions, as defined by the
|
||||
"pair_style"_pair_style.html command, are included in this
|
||||
calculation. Bond (angle, dihedral, etc) interactions between atoms
|
||||
in the two groups are not included. Long-range interactions due to a
|
||||
"kspace_style"_kspace_style.html command are also not included. Not
|
||||
all pair potentials can be evaluated in a pairwise mode as required by
|
||||
this compute. For example, 3-body potentials, such as
|
||||
"Tersoff"_pair_tersoff.html and "Stillinger-Weber"_pair_sw.html cannot
|
||||
be used. "EAM"_pair_eam.html potentials for metals only include the
|
||||
pair potential portion of the EAM interaction, not the embedding
|
||||
term.
|
||||
|
||||
[Related commands:] none
|
||||
|
||||
[Default:] none
|
Loading…
Reference in New Issue