Implement constructor

This commit is contained in:
Cory Balaton 2023-09-29 13:57:05 +02:00
parent 69864f7059
commit b856834adc
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B

View File

@ -9,7 +9,6 @@
*
* @bug No known bugs
*
* @todo Implement constructor
* @todo Implement add_particle
* @todo Implement external_E_field
* @todo Implement external_B_field
@ -25,7 +24,9 @@
PenningTrap::PenningTrap(double B_0, double V_0, double d)
{
this->B_0 = B_0;
this->V_0 = V_0;
this->d = d;
}
void PenningTrap::add_particle(Particle particle)