/N-Body-Simulator

Nobody simulation project

Primary LanguageC++

N-Body-Simulator


N-body simulation project in works with Celestia
  • Language in use: C++14
  • Libraries:
    1. Eigen - For Vectorized matrix and vectors
    2. Allegro 5 - For graphics and visualization
  • Plans: Currently using Barnes Hut optimization for O(nlog(n)) algorithm. Planning on using a 4th order hermite integrator. Currently none in place

Coding style

  1. Classes, Methods - PascalCase
  2. variables, parameters - camelCase
  3. Opening braces on same line
  4. Only C++ style comments ( // )
  5. For removing in work or debug statements, use C style block comments ( /** )