2007-06-20 21:15:18 +08:00
|
|
|
"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 temp/dipole command :h3
|
|
|
|
|
|
|
|
[Syntax:]
|
|
|
|
|
|
|
|
compute ID group-ID temp/dipole :pre
|
|
|
|
|
|
|
|
ID, group-ID are documented in "compute"_compute.html command
|
|
|
|
temp/dipole = style name of this compute command :ul
|
|
|
|
|
|
|
|
[Examples:]
|
|
|
|
|
|
|
|
compute 1 all temp/dipole
|
|
|
|
compute myTemp mobile temp/dipole :pre
|
|
|
|
|
|
|
|
[Description:]
|
|
|
|
|
|
|
|
Define a computation that calculates the temperature of a group of
|
|
|
|
particles that include a point dipole. The computation is similar to
|
|
|
|
"compute_temp"_compute_temp.html, however, additional degrees of
|
2008-03-01 09:13:20 +08:00
|
|
|
freedom are included to account for the rotational state of the
|
2007-06-20 21:15:18 +08:00
|
|
|
particles. The associated kinetic energy includes a rotational term
|
|
|
|
KE_rotational = 1/2 I w^2, where I is the moment of inertia and w is
|
|
|
|
the angular velocity.
|
|
|
|
|
2008-01-03 03:25:15 +08:00
|
|
|
[Output info:]
|
|
|
|
|
|
|
|
The scalar value calculated by this compute is "intensive", meaning it
|
|
|
|
is independent of the number of atoms in the simulation. The vector
|
|
|
|
values are "extensive", meaning they scale with the number of atoms in
|
|
|
|
the simulation.
|
|
|
|
|
2007-06-20 21:15:18 +08:00
|
|
|
[Restrictions:]
|
|
|
|
|
|
|
|
Can only be used if LAMMPS was built with the "dipole" package.
|
|
|
|
|
|
|
|
[Related commands:]
|
|
|
|
|
|
|
|
"compute temp"_compute_temp.html
|
|
|
|
|
|
|
|
[Default:] none
|