TheHappyKoala / Harmony-of-the-Spheres

Newtonian n-body gravity simulator
117 stars 19 forks source link

add Sofspa10 symplectic integrator #114

Closed HugoGranstrom closed 4 years ago

HugoGranstrom commented 4 years ago

Here you go, a late christmas gift from me 🎅 🎄 🎁

TheHappyKoala commented 4 years ago

Ohhhhh.... Thanks 🎅 !!!

But wow, still have some work to do on the netlify integration

TheHappyKoala commented 4 years ago

I'll cherry pick this puppy into the gatsby branch

TheHappyKoala commented 4 years ago

Ah, champion, you target the gatsby branch . 😄

HugoGranstrom commented 4 years ago

Hehe I thought as this doesn't break anything I could as well merge it into the most current branch 😅 I'm a bit afraid of touching the master branch tbh, because that could screw it up big time for you with merge conflicts when you want to merge the gatsby stuff into it 😅

TheHappyKoala commented 4 years ago

Nah, really happy you did that, because I'm working with the Gatsby branch and it will, in not too long, get merged into master, so cheers 😄 !

You're a good gitizen, and I'm working on becoming one, too!

HugoGranstrom commented 4 years ago

Haha I'm up to too much gitanigans to be a good gitizen 😂

I've done some more reading up on SPH and it seems like it's basically a n-body simulation with pressure + gravity and we should be able to use our current gravity (Barnes Hut) so it should just be a matter of getting the pressure part done and gluing them together 🚀😄 haven't looked at the equations yet though so it may not JUST be to do that 😂😅