# compute erotate command

## Syntax

    compute ID group-ID erotate general_keywords general_values

- ID, group-ID are documented in compute command
- erotate = style name of this compute command
- general_keywords general_values are documented in compute

## Examples

    compute 1 all erotate

## Description

Define a computation that calculates the rotational kinetic energy of all particles. This compute sums the rotational kinetic energy of spherical, superquadric and multisphere particles.

The detailed way of how these energies of computed can be found in the respective child computes.

## Output info

This compute calculates a global scalar (the rotational kinetic energy). This value can be used by any command that uses a global scalar value from a compute as input. See Section_howto 15 for an overview of LIGGGHTS(R)-PUBLIC output options.

The scalar value calculated by this compute is “extensive”. The scalar value will be in energy units.

## Restrictions

Those of the child computes.

## Related commands

compute erotate/sphere compute erotate/mulitsphere compute erotate/superquadric

Default: none