Skip to content

jasonbunk/NBodyGalaxySimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GalaxySimulationPhys141Winter2015

N-body simulation of colliding galaxies: final project for UCSD Physics 141, Winter 2015.

https://github.com/jasonbunk/GalaxySimulationPhys141Winter2015

Requirements (Dependencies)

See below

Notes

Video:

<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/oy0zjWEDhac" width="420"></iframe>

OpenCL parallelization diagram:

GPU Parallelization Scheme for O(N^2) Gravitational Code

Requirements (Dependencies)

Required for simulation (need to install before use):

python

numpy

for GPU code, OpenCL libraries

Required for 3D renderer:

Code::Blocks

OpenGL

SFML -- http://www.sfml-dev.org/

Required for plotting (e.g. Plummer density distribution):

matplotlib

Required for making videos:

ffmpeg

About

N-body simulation of colliding galaxies: final project for UCSD Physics 141 and Physics 244, 2015. Jason Bunk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published