Make small changes
This commit is contained in:
parent
6307256edc
commit
21b94acbd8
@ -13,9 +13,13 @@
|
|||||||
#define __PENNING_TRAP__
|
#define __PENNING_TRAP__
|
||||||
|
|
||||||
#include <armadillo>
|
#include <armadillo>
|
||||||
|
#include <omp.h>
|
||||||
|
|
||||||
#include "constants.hpp"
|
|
||||||
#include "Particle.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.
|
/** @brief A class that simulates a Penning trap.
|
||||||
*
|
*
|
||||||
|
|||||||
@ -13,15 +13,9 @@
|
|||||||
* @todo Implement evolve_forward_euler
|
* @todo Implement evolve_forward_euler
|
||||||
* */
|
* */
|
||||||
|
|
||||||
#include "utils.hpp"
|
|
||||||
#include "PenningTrap.hpp"
|
#include "PenningTrap.hpp"
|
||||||
#include "constants.hpp"
|
#include "constants.hpp"
|
||||||
#include <algorithm>
|
#include "utils.hpp"
|
||||||
#include <stdexcept>
|
|
||||||
#include <omp.h>
|
|
||||||
|
|
||||||
#pragma omp declare reduction( + : arma::vec : omp_out += omp_in ) \
|
|
||||||
initializer( omp_priv = omp_orig )
|
|
||||||
|
|
||||||
PenningTrap::PenningTrap(double B_0, double V_0, double d)
|
PenningTrap::PenningTrap(double B_0, double V_0, double d)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user