Scripted HTML version of Foils prepared 28 December 1996
Foil 26 Representing the N-Body problem
From CPS615-Discussion of Ordinary Differential Equations and Start of Parallel N-Body Algorithm Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 10 October 96. byGeoffrey C. Fox * Secs 79.2
Positions and velocities are 3 N dimensional arrays, X and V
other variables
M - spread masses to another 3xN array
h - step size
ns - number of time steps
subroutine for numerical method will take these arguments and update X and V.
A subroutine called Grav is assumed to compute new accelerations