- Euler
- Fourth order Runge-Kutta
file: init.dat
Distance in AU Velocity in AU/days Mass in Solar mass
Output (trajectories):
file: output.dat
The bash program:
make three
The same program with openGL visualization
make three++
The makefile should work on Linux with little modifications.
-
Edit init.dat for initial conditions
-
./three (three++ for openGL version)
-
Analyse the output.dat file