GalaxSee

From Earlham Cluster Department

Revision as of 15:17, 30 June 2009 by Amweeden06 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Problem description

GalaxSee is a simulation of the n-body problem. A galaxy of stars (or point-masses) is generated with random positions and velocities, spun, and updated as the stars exert forces on each other.

Parameters

GalaxSee is run with the following command line: mpirun -np NUMPROCS [-m M] [-t T] [-x] STARS

Classes

Point

A single body. A point has position, velocity, and acceleration, all in <x,y,z> coordinates.

Galaxy

The galaxy initializes the points with random positions and velocities, spins the points around the center, and thereafter makes updates to the points' positions, velocities, and accelerations based on their gravitational interactions with each other.

RunManager

This creates two separate threads. It receives the following commands and executes them accordingly:

Physics Assumptions

Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox