|
Penning Trap Simulation
Simulate particle behavior inside a Penning Trap
|
The main program for this project. More...
#include <cmath>#include <fstream>#include <omp.h>#include <string>#include <sys/stat.h>#include <vector>#include "PenningTrap.hpp"#include "utils.hpp"Go to the source code of this file.
Macros | |
| #define | PARTICLES 100 |
| #define | N 10000 |
| #define | CHARGE 1. |
| #define | MASS 40. |
Functions | |
| void | simulate_single_particle () |
| void | simulate_two_particles () |
| void | simulate_single_particle_with_different_steps () |
| void | simulate_100_particles () |
| void | simulate_100_particles_with_time_potential () |
| int | main () |
Variables | |
| Particle | p1 (CHARGE, MASS, vec_3d{20., 0., 20.}, vec_3d{0., 25., 0.}) |
| Particle | p2 (CHARGE, MASS, vec_3d{25., 25., 0.}, vec_3d{0., 40., 5.}) |