compute temp is used to calculate the temperature of a group of particle.
This compute calculates the temperature of a group of particles based on the kinetic theory of gases. The expression of temperature is given as:
| T = ⟨v2⟩∕3k B |
The output is in the form of scalar.