Overload constructor and format

This commit is contained in:
2023-10-08 17:25:43 +02:00
parent 51a381e672
commit 0b52008d4d
2 changed files with 36 additions and 10 deletions

View File

@@ -42,6 +42,12 @@ public:
* */
PenningTrap(double B_0 = T, double V_0 = 25. * V / 1000., double d = 500.);
PenningTrap(int i, double B_0 = T, double V_0 = 25. * V / 1000.,
double d = 500.);
PenningTrap(std::vector<Particle> particles, double B_0 = T,
double V_0 = 25. * V / 1000., double d = 500.);
/** @brief Add a particle to the system
* */
void add_particle(Particle particle);