SimpleNBody
Team
Description
Many research groups write software for their own use, very few release and maintain products for use by others. This part of the project is intended to teach you how to go from idea to releasing a usable package.
Please take a minute to read the Style Guide for Python.
Deliverables
- An N-Body simulation package, with documentation, unit tests, and example simulations
- The examples will consist of the Four Elementary Examples from Section II of ToomreAndToomre, and the beautiful results from Section VI(d), the Antennae Galaxies.
- A performance and accuracy comparison to Barnes's treecode
Package Framework
I have adapted our current simulation package into a package skeleton.
Development Cycle
Vision
Write an N-Body code in Python
Requirements
- Perform force calculations on a system of particles
- Write out positions, velocities and masses in a CSV file
- Write out positions and masses in a VTK file
- Read in positions, velocities and masses of the initial conditions from a CSV file
- Accept a set of input parameters
- Rendering
Features
- First order forward time integrator
- Tree code (OPTIONAL)
Priorities
- Solver
- Input Parameters
- Write VTK file
- Read/Write CSV
- Rendering
- Treecode
