Penning Trap Simulation Simulate particle behavior inside a Penning Trap

Loading...
Searching...
No Matches
typedefs.hpp
Go to the documentation of this file.
1
15#ifndef __TYPEDEFS__
16#define __TYPEDEFS__
17
18#include <armadillo>
19#include <vector>
20
23 typedef arma::vec::fixed<3> vec3;
24
28 typedef std::vector<vec3> sim_cols;
29
32 typedef std::vector<vec3> sim_rows;
33
36 typedef std::vector<sim_cols> sim_arr;
37
40 typedef struct simulation {
41 sim_arr r_vecs;
42 sim_arr v_vecs;
43} simulation_t;
44
45#endif
simulation
Typedef for PenningTrap::simulation return value.
Definition: typedefs.hpp:40
sim_rows
std::vector< vec3 > sim_rows
Typedef for the row of the result vector from simulating particles.
Definition: typedefs.hpp:32
vec3
arma::vec::fixed< 3 > vec3
Typedef for a fixed 3d arma vector.
Definition: typedefs.hpp:23
sim_cols
std::vector< vec3 > sim_cols
Typedef for the column of the result vector from simulating particles.
Definition: typedefs.hpp:28
simulation_t
struct simulation simulation_t
Typedef for PenningTrap::simulation return value.
sim_arr
std::vector< sim_cols > sim_arr
Typedef for the result of the simulate method.
Definition: typedefs.hpp:36