- Thorsten Hater [email protected]
- Teodor Nikolov
A very simple code for simulating the interaction of many particles through gravitational (or electrostatic) forces.
The total force acting on a particle is computed by summing up the individual contributions for all other particles.
This leads to
Your mission is to make this code run as fast as possible!
The reference implementation is in C++11. You can pick and choose which C++11 features you want to use in your implementations.
src
: contains the vanilla source codehandout
: the presentation and handout