Loading...
Searching...
No Matches
typedefs.hpp
Go to the documentation of this file.
#ifndef __TYPEDEFS__
#define __TYPEDEFS__
#include <armadillo>
#include <vector>
typedef arma::vec::fixed<3> vec3;
typedef std::vector<vec3> sim_cols;
typedef std::vector<vec3> sim_rows;
typedef std::vector<sim_cols> sim_arr;
typedef struct simulation {
sim_arr r_vecs;
sim_arr v_vecs;
} simulation_t;
#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