Move typedef
This commit is contained in:
parent
8412e2f643
commit
520728a9c2
@ -23,11 +23,6 @@
|
||||
#pragma omp declare reduction(+ : vec_3d : omp_out += omp_in) \
|
||||
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.
|
||||
*
|
||||
* 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;
|
||||
|
||||
/** @brief Typedef for PenningTrap::simulation return value.
|
||||
* */
|
||||
typedef struct simulation {
|
||||
sim_arr r_vecs;
|
||||
sim_arr v_vecs;
|
||||
} simulation_t;
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user