Skip to content

diehlpkteaching/N-Body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-Body simualation

Template for the N-Body simulation in C++

Files

There are two template files available:

  • Nbody_template.cpp
  • Nbody_template.ipynb

To check your implementation there are to python scripts available to plot the trajectory of the bodys:

  • Plot.ipynb
  • Plot.py

To use the visualisation pipe your output of the simulation to the file out.txt and run the the script.