Move typedef

This commit is contained in:
Cory Balaton 2023-10-19 18:36:34 +02:00
parent 8412e2f643
commit 520728a9c2
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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