r/programming • • Dec 23 '12

Simulating a solar system with Python

http://users.softlab.ntua.gr/~ttsiod/gravityRK4.html
244 Upvotes

72 comments sorted by

View all comments

Show parent comment

3

u/brandonpelfrey Dec 23 '12

I just recently have been reading a lot into geometric integration techniques. Really cool stuff. Since the Lagrangian for N-body is a particularly simple form, he could easily use a discrete variational integrator. There is a plethora of cool research into geometric mechanics by Jerry Marsden, who recently passed away.