Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Configurational Temperature: Verification of Monte Carlo Simulations



B D. Butler, G Ayton, O G. Jepps, D J. Evans


A diagnostic that is useful for checking the algorithmic correctness of Monte Carlo computer programs is presented. The check is made by comparing the Boltzmann temperature input to the program and used to accept or reject moves, with the configurational temperature kβTconfig=([δρφ]22ρφ). Here, φ is the potential energy of the system and δρ represents the dimensionless gradient operator over the particle positions ρ. We show, using a simulation of Lennard-Jones particles, that the configurational temperature tracks rapidly and accurately changes made to the input temperature even when the system is not in global thermodynamic equilibrium. When coding and/or algoithmic errors are introduced, we find that Tconfig no longer agrees with the input temperature. The effect of system size and continuity of φ and its derivatives on Tconfig are also discussed.
Journal of Chemical Physics
No. 16


configurational temperature, Monte Carlo simulation


Butler, B. , Ayton, G. , Jepps, O. and Evans, D. (1998), Configurational Temperature: Verification of Monte Carlo Simulations, Journal of Chemical Physics (Accessed February 28, 2024)
Created October 1, 1998, Updated February 17, 2017