Skip to content

phirling/gravitation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

A Simple C++ N-Body Treecode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published