Make small changes

This commit is contained in:
Cory Balaton 2023-10-04 12:58:16 +02:00
parent 6307256edc
commit 21b94acbd8
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B
2 changed files with 6 additions and 8 deletions

View File

@ -13,9 +13,13 @@
#define __PENNING_TRAP__
#include <armadillo>
#include <omp.h>
#include "constants.hpp"
#include "Particle.hpp"
#include "constants.hpp"
#pragma omp declare reduction( + : arma::vec : omp_out += omp_in ) \
initializer( omp_priv = omp_orig )
/** @brief A class that simulates a Penning trap.
*

View File

@ -13,15 +13,9 @@
* @todo Implement evolve_forward_euler
* */
#include "utils.hpp"
#include "PenningTrap.hpp"
#include "constants.hpp"
#include <algorithm>
#include <stdexcept>
#include <omp.h>
#pragma omp declare reduction( + : arma::vec : omp_out += omp_in ) \
initializer( omp_priv = omp_orig )
#include "utils.hpp"
PenningTrap::PenningTrap(double B_0, double V_0, double d)
{