Calculate temperature from a snapshot which contains the momentum data.
Calculate temperature from a snapshot which contains the momentum data.