Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 503 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 503 Bytes

Gravitation

A Simple C++ N-Body Treecode

Usage

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.

Aknowledgements

ConfigFile class (used to import an ASCII file for initial conditions and parameters) written by K. Steiner, J. Dominski, N. Ohana, C. Sommariva (EPFL).