All pairs n-body simulation of electromagnetic forces on charged particles, adapted from Nvidia SDK 3.2 sample. Uses Lorentz force from EM fields via the Biot-Savart law for moving charged particles (uses relative velocity). Relativistic.
- double precision
- mixed particle
Thanks for Em-nbody, it's excellent!
Happy Jack, I am excited to use this code. I have perused many other codes similar to it. Including the code by Indrek Mare - and my own MATLAB code. I have also dabbled with commercial code. My code will generate an accurate B-Field inside the rings. This was not a small feat. I bench marked these results against WB6. But If this code can track particle motion inside the polywell, then that is exciting.
<insert shameless self promotion>