jdinovi / HOOTSim

N-Body Simulator
2 stars 0 forks source link

Parallel computing? #10

Open Adam-Boesky opened 10 months ago

Adam-Boesky commented 10 months ago

???

Adam-Boesky commented 10 months ago

Things to make parallel:

  1. Calculation of forces between bodies.
  2. Updating each particel.
jdinovi commented 10 months ago

Basic structure of parallelization of N-body sim: https://patterns.eecs.berkeley.edu/?page_id=193#Naive_algorithm

jdinovi commented 10 months ago

PDF with comprehensive info on threading: https://www.mica.edu.vn/perso/Vu-Hai/EE3490/Ref/The%20C++Standard%20Library%20-%202nd%20Edition.pdf