Chapter 8: True Basic Program Listings
from
Introduction to Computer Simulation Methods
- md. Listing includes subroutines initial, Verlet, accel, force, show_positions, show_output, save_config, set_up_windows, headings, and functions pbc and separation listed separately in the text. Note that the program differs from the listing in the text.
- hd. Listing includes subroutines initial, check_momentum, minimum_collision_time, move, reset_list, check_overlap, kinetic_energy, uplist, downlist, check_collision, contact, show_output, save_config, set_up_windows, and functions separation and pbc.
- sub_displacements
- sub_initial
- sub_normalization
- sub_read_data
- R2
- example_data
Updated 20 August 2003.