compute bond/counter command
Purpose
Keeps track of the number of bonds from the cohesion model bond
Syntax
compute ID group-ID bond/counter general_keyword general_values
Examples
compute 1 all bond/counter
Description
Define a computation that tracks the number of bonds from the cohesion model bond. Additionally it also tracks the number of bonds created and destroyed since its last output. Bonds between particles and between particles and walls are tracked separately.
Output info:
This compute calculates a global vector with six entries. The first three entries correspond to the particle-particle bonds. The first two entries are the number of bonds created and destroyed, respectively, since the last output of this compute. The third entry is the number of intact bonds at the time of the compute output. The last three entries are identical to the first three, except that they store the information about particle-wall bonds.
These values can be used by any command that uses a global scalar value from a compute as input. See Section_howto 8 for an overview of Aspherix® output options.
Restrictions
None.
Default
None.