Project #2: High Performance, Parallel, N-Body Simulations


Objectives

To understand and apply:

Approach

In this project we are assigned the task of modeling a collection of N particles in a 2-dimensional balloon. The particles are assumed not to collide with one another and all have a fixed mass. The only interaction that particles have with one another is when then collide with the balloon wall. We will detect this by computing the convex hull of the points. We will assume that the balloon follows hooks law, that is the force in the balloon wall is F = K L where F is the force, K is Hooks constant, and L is the length of the balloon.
The algorithm proceeds as follows:
To create your initial conditions, create N particles assigned random positions within a square centered at the origin with sides of length 2, -1 >= x >= 1, -1 >= y >= 1. Assign each particle a velocity, Vinit in a random direction. Assume all particles have a mass of 1.

Based on the initial velocity, and K, use the N-body simulation to estimate the area of the balloon.

In the design of your program provide an analysis of the expected performance of various algorithmic options. Document your algorithm selection criteria based on both analysis and experimental results. Include these results in your report.

Measure the performance of these algorithms on any candidate architecture. Describe your measurement methodology: How many measurements did you take? What was the variation in the measurements? What architecture did you use? What properties did this architecture have and does it match your model? Use statistical techniques if necessary.

What details do you need to consider?


What do you turn in?


Due Date:

The project is due December 4th at 2:00pm. last class

luke@cs.msstate.edu
Last modified: Mon Oct 28 09:49:34 CST 2002