Skip to content

damian1996/N-Body-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-BODY SIMULATION

Authors

Damian Stachura

INSTALLATION FOR UBUNTU 16.04

REQUIREMENTS

  • Install glfw3 and glm
         sudo apt-get update
         sudo apt-get install libglm-dev glibglfw3-dev libglfw3
  • Install CUDA 9.2
         Go to CUDA installation
         Go to subsection 2.6 and go to the download section.
         Then choose sufficient options and finally you will choose deb(local).
         Later click Downlad and enter commands from installation guide below
  • Thrust Library
         sudo apt-get update
         sudo apt-get install libthrust-dev

EXECUTE

  • Clone repository
         Move to your favourite directory and enter following command
         git clone https://github.com/damian1996/N-Body-Simulation.git
  • Run program
         Enter following commands to run program
         cd N-Body-Simulation
         cd Naive
         make clean && make
         ./out/main\

In the main interface are four versions of simulation to choose. Each algorithm will have 3D visualization of the simulation in which it is possible to scroll and to zoom.

About

Bachelor Thesis at Jagiellonian University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published