Develop #14
@ -23,11 +23,6 @@
|
|||||||
#pragma omp declare reduction(+ : vec_3d : omp_out += omp_in) \
|
#pragma omp declare reduction(+ : vec_3d : omp_out += omp_in) \
|
||||||
initializer(omp_priv = omp_orig)
|
initializer(omp_priv = omp_orig)
|
||||||
|
|
||||||
typedef struct simulation {
|
|
||||||
sim_arr r_vecs;
|
|
||||||
sim_arr v_vecs;
|
|
||||||
} simulation_t;
|
|
||||||
|
|
||||||
/** @brief A class that simulates a Penning trap.
|
/** @brief A class that simulates a Penning trap.
|
||||||
*
|
*
|
||||||
* This class simulates a Penning trap. It can take in a number of particles
|
* This class simulates a Penning trap. It can take in a number of particles
|
||||||
|
|||||||
@ -35,4 +35,11 @@ typedef std::vector<sim_cols> sim_arr;
|
|||||||
* */
|
* */
|
||||||
typedef arma::vec::fixed<3> vec_3d;
|
typedef arma::vec::fixed<3> vec_3d;
|
||||||
|
|
||||||
|
/** @brief Typedef for PenningTrap::simulation return value.
|
||||||
|
* */
|
||||||
|
typedef struct simulation {
|
||||||
|
sim_arr r_vecs;
|
||||||
|
sim_arr v_vecs;
|
||||||
|
} simulation_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user