Coryab/implement penningtrap #3
@ -18,5 +18,9 @@ Particle::Particle(double q, double m,
|
|||||||
arma::vec::fixed<3> r_vec,
|
arma::vec::fixed<3> r_vec,
|
||||||
arma::vec::fixed<3> v_vec)
|
arma::vec::fixed<3> v_vec)
|
||||||
{
|
{
|
||||||
|
// Giving the particle its properties
|
||||||
|
this->q = q;
|
||||||
|
this->m = m;
|
||||||
|
this->r_vec = r_vec;
|
||||||
|
this->v_vec = v_vec;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user