Picked up my old space sim project again and made the flight trajectory planner multithreaded. Each color is a separate thread.
The thing is, the calculation of an object's motion in an N-Body system is strictly serially dependent so "actual" multithreading is not possible.
What I am doing here is letting each thread calculate with a bigger timestep than the previous and then stitch the results together.
So I at least get a lower precision result sooner, until the next thread catches up.
Might look a bit unimpressive but in total the highest precision thread is calculating 21 Million values so speed is quite of the essence.