25 lines
523 B
C++
25 lines
523 B
C++
/** @file Particle.cpp
|
|
*
|
|
* @author Cory Alexander Balaton (coryab)
|
|
* @author Janita Ovidie Sandtrøen Willumsen (janitaws)
|
|
*
|
|
* @version 0.1
|
|
*
|
|
* @brief The implementation of the Particle class.
|
|
*
|
|
* @bug No known bugs
|
|
* */
|
|
|
|
#include "Particle.hpp"
|
|
|
|
Particle::Particle(double q, double m,
|
|
arma::vec::fixed<3> r_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;
|
|
}
|