Course Material
Topic outline
-
-
This tarball contains the source code for the vector addition examples, gravitational potential exercise, and sample code for the diffusion equation homework exercise.
The
src/gravity
directory contains two Python programs to test and benchmark the different solutions for the gravitational potential exercise; the solution functions are in thegravity_calculators
subdirectory. The Sapporo N-body library has to be downloaded, patched, and built before it can be used here; this is done automatically by theget_sapporo.sh
script in thesapporo2
directory (tested on Mist; some tweaks required to get this program to work on other systems).
-