LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

compute damage/atom command

Syntax:

compute ID group-ID damage/atom 

Examples:

compute 1 all damage/atom 

Description:

Define a computation that calculates the per-atom damage for each atom in a group. Please see the PDLAMMPS user guide 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:

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 this section for an overview of LAMMPS output options.

The per-atom vector values will be a number >= 0.0, as explained above.

Restrictions:

The damage/atom style is part of the "peri" package. It is only enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.

Related commands:

dump custom

Default: none