News for hackers. Stuff that matters.
Re:“The moon blew up without warning and for no apparent rea... by hexane360 on Thursday September 21, 2017 @09:22PM (#15308728)
>Gravitational interactions between all bodies. I use an extraordinarily naive direct summation approach, which scales as O(N^2) and is horrible. A huge improvement would be to approximate forces from distant bodies with some kind of multipole expansion, and store masses in a balanced tree – this is known as a Barnes-Hut simulation.

There are no comments on this comment yet.