- All Implemented Interfaces:
IDataSource
public class MeterTemperature
extends DataSourceScalar
Meter for measurement of the temperature based on kinetic-energy
equipartition. The class uses a MeterKineticEnergy by default to calculate
the kinetic energy, but any DataSourceScalar can be used for this purpose by
calling setKineticEnergyMeter.
If the Simulation is not given, the class will assume that all atoms have
only translational degrees of freedom. If the Simulation is given, this
class will examine the ISpecies and calculate the actual number of degrees
of freedom (more for oriented atoms or molecules).