Closed brynbarker closed 5 years ago
Parallelized code using openMP with thread count set as a command line argument. Slower than original if number of particles is too low. Otherwise seems to improve speed most with 5-6 threads. Error seems to compound after enough time steps.
cleaned up the updateParticleGradients like you suggested
Parallelized code using openMP with thread count set as a command line argument. Slower than original if number of particles is too low. Otherwise seems to improve speed most with 5-6 threads. Error seems to compound after enough time steps.