XY model
July 31, Peter Sibley
July 11, Peter Sibley
- used Util.fill for fill method and Util.pbc for pbc.
July 10. Peter Sibley.
- positive seed.
- removed second display of seed.
- got rid of commas in output.
- added the lattice to the drawing panel in the initialize method.
July 9, 2002. Peter Sibley.
- XYAnimationApp. I formatted the numbers so that most are 4 digits and acceptance probability is 2 digits after the decimal.
- reset averages if you change the temperature
- allows use to set the seed and display the seed
- displays the temp in output window
- renamed recalculateMagnetization to calculateMagnetization.
- In XYScanApp I added a plot of susceptibility.
Name conventions:
- get* returns something. It may need to calculate it as well but it leaves internal varibles alone.
- calculate* returns nothing and alters the objects state, not necissarly system state (e.g., computw magnetization and changw magnetizationX and magnetizationY).
- compute() as a method that does MCS steps, normally I use this in the calculation applications that plot f(T) vs T, where T_START < T < T_END.
- step() for one sweep of the lattice and updating the statistics.
Updated 11 July 2002.