|
Penning Trap Simulation
Simulate particle behavior inside a Penning Trap
|
| ▼ include | |
| constants.hpp | Library of constants |
| Particle.hpp | A class that holds the properties of a particle |
| PenningTrap.hpp | A class for simulating a Penning trap |
| typedefs.hpp | Useful typedefs for cleaner code |
| utils.hpp | Function prototypes and macros that are useful |
| ▼ src | |
| ▼ scripts | |
| animate_100_particles.py | Animate 100 particles |
| plot_2_particles.py | Plot 2 particles with and without particle interactions in the xy-plane |
| plot_3d.py | Plot 2 particles with and without particle interactions in 3D |
| plot_particles_left.py | Plot how many particles are left after 500 microseconds using different angular frequencies |
| plot_phase_space.py | Plot the phase space for 2 particles in the x and z direction, with and without particle interactions |
| plot_relative_error.py | Plot the relative error for forward Euler and RK4 method |
| plot_single_particle.py | Plot the approximation and analytical solution for one particle in the z axis |
| frequency_narrow_sweeps_long.cpp | Sweep of the frequencies from 1.1 to 1.7 using a small time step |
| main.cpp | The main program for this project |
| Particle.cpp | The implementation of the Particle class |
| PenningTrap.cpp | The implementation of the PenningTrap class |
| test_suite.cpp | The test suite for the project |
| utils.cpp | Implementation of the utils |