2008-07-24 07:26:28 +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
|
|
|
|
|
2008-07-24 23:04:46 +08:00
|
|
|
compute damage/atom command :h3
|
2008-07-24 07:26:28 +08:00
|
|
|
|
|
|
|
[Syntax:]
|
|
|
|
|
|
|
|
compute ID group-ID damage/atom :pre
|
|
|
|
|
|
|
|
ID, group-ID are documented in "compute"_compute.html command
|
|
|
|
damage/atom = style name of this compute command :ul
|
|
|
|
|
|
|
|
[Examples:]
|
|
|
|
|
|
|
|
compute 1 all damage/atom :pre
|
|
|
|
|
|
|
|
[Description:]
|
|
|
|
|
|
|
|
Define a computation that calculates the per-atom damage for each atom
|
|
|
|
in a group. Please see the "PDLAMMPS user
|
|
|
|
guide"_http://www.sandia.gov/~mlparks/papers/PDLAMMPS.pdf for a formal
|
|
|
|
definition of "damage" and more details about Peridynamics as it is
|
|
|
|
implemented in LAMMPS.
|
|
|
|
|
|
|
|
The value of the damage will be 0.0 for atoms not in the specified
|
|
|
|
compute group.
|
|
|
|
|
|
|
|
[Output info:]
|
|
|
|
|
2009-12-05 05:04:00 +08:00
|
|
|
This compute calculates a per-atom vector, which can be accessed by
|
|
|
|
any command that uses per-atom values from a compute as input. See
|
2011-12-14 04:43:36 +08:00
|
|
|
"Section_howto 15"_Section_howto.html#howto_15 for an overview of
|
|
|
|
LAMMPS output options.
|
2008-07-24 07:26:28 +08:00
|
|
|
|
2010-01-24 07:20:05 +08:00
|
|
|
The per-atom vector values will be a number >= 0.0, as explained
|
|
|
|
above.
|
|
|
|
|
2008-07-24 07:26:28 +08:00
|
|
|
[Restrictions:]
|
|
|
|
|
2011-08-27 02:53:00 +08:00
|
|
|
This compute is part of the PERI package. It is only enabled if
|
2010-09-02 03:53:20 +08:00
|
|
|
LAMMPS was built with that package. See the "Making
|
2011-08-26 00:46:23 +08:00
|
|
|
LAMMPS"_Section_start.html#start_3 section for more info.
|
2008-07-24 07:26:28 +08:00
|
|
|
|
|
|
|
[Related commands:]
|
|
|
|
|
|
|
|
"dump custom"_dump.html
|
|
|
|
|
|
|
|
[Default:] none
|