A Simple C++ N-Body Treecode
Makefile included, only c++ compiler needed. Generate initial conditions formatted as in the example .in file, compile main program and execute using the syntax:
./gravitation <IC.in>
The Barnes-Hut theta parameter is specified in the physical_constants.h file.
ConfigFile class (used to import an ASCII file for initial conditions and parameters) written by K. Steiner, J. Dominski, N. Ohana, C. Sommariva (EPFL).