Package(s) for n-body simulations?

What do we currently have in the ecosystem for n-body simulations (with electric-field-like interaction, point-like particles, no collisions)?

https://github.com/SciML/NBodySimulator.jl

2 Likes

Can NBodySimulator handle up to say 1000 particles (via octree or so)?

I actually have these particles in a semiconductor, so I don’t need a fancy solver for the motion (momenta aren’t conserved for relevant time scales, particle speed is basically proportional to force, no acceleration either). But I need something that scales with N(log N), using Barnes–Hut or so.

It doesn’t have a multipole method yet, that’s still in development.

2 Likes

Thanks, I’ll definitely keep an eye on it!