HTML version of Scripted 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. by Geoffrey C. Fox *
Secs 79.2
1 Positions and velocities are 3 N dimensional arrays, X and V
2 other variables
  • M - spread masses to another 3xN array
  • h - step size
  • ns - number of time steps
3 subroutine for numerical method will take these arguments and update X and V.
4 A subroutine called Grav is assumed to compute new accelerations

Table Font Size


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997