Testing Monte Carlo
Grid Methods
One way to test Monte Carlo programs is to use an alternate integration
method and compare the results. Grid based methods suffer badly from
dimensionality, but should be usable for small numbers of particles.
Here's a simple program that computes the average energy for two Lennard-Jones
particles (twopart.tar.gz).
Back to index page