Previous: The pairing step
Up: Details of the simulation program
Next: Determination of optimal step size
Calculation of the new position and velocity is done in a small loop. The midpoint formula derived before is used to calculate the new values, and a fourth order Runge-Kutta is used to determine if the step size was appropriate.
-----------------------------------------------
mcr@ccs.carleton.ca