CSM
Up one level"An Introduction to Computer Simulation Methods" source code.
- V1.04 by Admin Account — last modified 2006-10-05 15:21
- Updated version of CSM code released on OSP CD.
- LJParticles.java errata. by Admin Account — last modified 2006-01-15 10:47
- The getHeatCapacity() method has been corrected. On page 276 in Eq. 8.11, after the equal sign, the first appearance of N should be 1/N and in Eq. 8.12 after the minus sign 1/N should be N. We thank Mike Cooke for pointing out this error.
- SHOParticle.java errata by Admin Account — last modified 2006-04-04 12:47
- The velocity term in the step() method is missing a factor of "y". v = v-((k/m)*y*dt); // Euler-Cromer algorithm for numerical solution
- HardDisk.java errata by Admin Account — last modified 2006-04-04 12:49
- In the listing for pressure(), the denominator should not include the area factor. Thus, this line should be return 1 + virialSum/(2*t*N*temperature);
- Maxwell.java errata by Admin Account — last modified 2006-04-04 12:52
- The indices in the current() method are out of order. This line should be: J[mid+1][mid][mid][0] should be J[0][mid+1][mid][mid]
- MaxwellApp.java errata by Admin Account — last modified 2006-04-04 12:53
- The indices in the plotField() method are out of order. E[i][j][mid][0] and E[i][j][mid][1] should be E[0][i][j][mid] and E[1][i][j][mid], respectively.
- LaplaceApp.java errata by Admin Account — last modified 2006-04-25 12:01
- The control.getInt() method is missing a "size" parameter. The statement in the initialize() method should read: gridSize = control.getInt("size");