https://github.com/elucidation/nbody_ruby
Following http://www.artcompsci.org/kali/vol/two_body_problem_1/title.html
https://github.com/elucidation/nbody_ruby
Last synced: 9 months ago
JSON representation
Following http://www.artcompsci.org/kali/vol/two_body_problem_1/title.html
- Host: GitHub
- URL: https://github.com/elucidation/nbody_ruby
- Owner: Elucidation
- Created: 2011-06-06T03:10:23.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-11-03T07:59:13.000Z (over 14 years ago)
- Last Synced: 2025-07-26T23:14:34.212Z (10 months ago)
- Language: Ruby
- Homepage:
- Size: 2.39 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.txt
Awesome Lists containing this project
README
N-body simulation is numerically integrating the point-point interactions of N particles. In this case simulation of stars via gravitation.
I will follow the ruby 2-body tutorial that is on :
http://www.artcompsci.org/kali/vol/two_body_problem_1/ch01.html
and for the code
c_#_#.rb means Chapter # Section #
so c_2_4.rb is Chapter 2 Section 4
Basically the Ruby .rb files contain scripts that are run as is, following the tutorial template, with some deviations in interesting directions also.
The Comparison folders contain doc and image outputs of the n-body trajectories, when I was comparing different integration methods.