Supercomputing Applications
Lab 14A Report Form
Experimenting with the Serial (non-parallel) version
of the N-body program
- Your name: __________________________________, Period: _____, Date __________
- Code is given to you that demonstrates two and three bodies attracted to each other. In the given code, the bodies have equal initial velocities (0) and equal masses, so each is attracted the same way. Run this code and plot the results with GnuPlot.
- Now experiment with a variation on the given program. For example, vary the number of initial particles and/or vary the initial masses. Create one particle whose mass is very much more than the other particles. Give the lighter particles an initial velocity in some direction other than directly at the large mass. Plot your results with Gnuplot.
- Describe at least two variations you have done to experiment with the given N-body program.
- Plot your results with Gnuplot. Capture a screenshot of these graphs. Use Gimp and File/Acquire to obtain a screenshot.
- Experiment 1: Your first variation.
- Describe in detail what you've added or changed in this variation. What is it that you're trying to experiment with or validate?
Try to paste in a screenshot image of your results.
What can you conclude?
- Experiment 2: Your second variation.
- Describe in detail what you've added or changed in this variation. What is it that you're trying to experiment with or validate?
Try to paste in a screenshot image of your results.
What can you conclude?
- If you've tried other experiment(s), describe these below: