1 | C Solves Newton's equations of motion using Runge-Kutta method |
2 | C which is globally 4th order. X and V are initial positions and |
3 | C velocities. The system is evolved over a time interval h*ns. |
4 |
C X and V contain the updated state at that time.
|
5 | C Grav is hard parallel algorithm and will be given later! |