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.
Features
- relativistic
- double precision
- mixed particle
License
Public DomainFollow EM-nbody
Other Useful Business Software
$300 Free Credits to Build on Google Cloud
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Rate This Project
Login To Rate This Project
User Reviews
-
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>