Skip to content

Performant N-Body Simulations with Barnes-Hut and Realistic Galaxy Models

Notifications You must be signed in to change notification settings

adityavkk/N-Body-Simulations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

N-Body Simulations

Algorithms and visualizations of a dynamical system of bodies influenced by gravitational force written in Haskell

  • Direct Simulation (A O(n^2) algorithm where the force on each particle is calculated by taking every other particle into account)
  • Barnes-Hut (A O(log n)) algorithm based on quad/oct trees)

How to Run

  • Install dependencies
  • Compile and launch, or alternatively run cabal run

About

Performant N-Body Simulations with Barnes-Hut and Realistic Galaxy Models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published