2008-07-24 07:26:28 +08:00
|
|
|
<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>
|
|
|
|
|
2008-07-24 23:04:46 +08:00
|
|
|
<H3>compute damage/atom command
|
2008-07-24 07:26:28 +08:00
|
|
|
</H3>
|
|
|
|
<P><B>Syntax:</B>
|
|
|
|
</P>
|
|
|
|
<PRE>compute ID group-ID damage/atom
|
|
|
|
</PRE>
|
|
|
|
<UL><LI>ID, group-ID are documented in <A HREF = "compute.html">compute</A> command
|
|
|
|
<LI>damage/atom = style name of this compute command
|
|
|
|
</UL>
|
|
|
|
<P><B>Examples:</B>
|
|
|
|
</P>
|
|
|
|
<PRE>compute 1 all damage/atom
|
|
|
|
</PRE>
|
|
|
|
<P><B>Description:</B>
|
|
|
|
</P>
|
|
|
|
<P>Define a computation that calculates the per-atom damage for each atom
|
|
|
|
in a group. Please see the <A HREF = "http://www.sandia.gov/~mlparks/papers/PDLAMMPS.pdf">PDLAMMPS user
|
|
|
|
guide</A> for a formal
|
|
|
|
definition of "damage" and more details about Peridynamics as it is
|
|
|
|
implemented in LAMMPS.
|
|
|
|
</P>
|
|
|
|
<P>The value of the damage will be 0.0 for atoms not in the specified
|
|
|
|
compute group.
|
|
|
|
</P>
|
|
|
|
<P><B>Output info:</B>
|
|
|
|
</P>
|
2009-12-05 05:04:00 +08:00
|
|
|
<P>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
|
|
|
|
<A HREF = "Section_howto.html#4_15">this section</A> for an overview of LAMMPS
|
|
|
|
output options.
|
2008-07-24 07:26:28 +08:00
|
|
|
</P>
|
|
|
|
<P><B>Restrictions:</B>
|
|
|
|
</P>
|
2008-07-24 22:43:12 +08:00
|
|
|
<P>The <I>damage/atom</I> style is part of the "peri" package. It is only
|
2008-07-24 07:26:28 +08:00
|
|
|
enabled if LAMMPS was built with that package. See the <A HREF = "Section_start.html#2_3">Making
|
|
|
|
LAMMPS</A> section for more info.
|
|
|
|
</P>
|
|
|
|
<P><B>Related commands:</B>
|
|
|
|
</P>
|
|
|
|
<P><A HREF = "dump.html">dump custom</A>
|
|
|
|
</P>
|
|
|
|
<P><B>Default:</B> none
|
|
|
|
</P>
|
|
|
|
</HTML>
|