Fix dumb mistake
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
||||
PenningTrap(
|
||||
double B_0 = T,
|
||||
std::function<double(double)> V_0
|
||||
= [](double t) { return 25. * V / 1000.; },
|
||||
= [](double t) { return (25. * V) / 1000.; },
|
||||
double d = 500., double t = 0.);
|
||||
|
||||
/** @brief Constructor for the PenningTrap class
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
#ifndef __CONST__
|
||||
#define __CONST__
|
||||
|
||||
#define K_E 138935.333 ///< Coulomb constant. unit: \f$\frac{u(\mu m)^3}{(\mu s)^2 e^2}\f$
|
||||
#define K_E 1.38935333*1e5 ///< Coulomb constant. unit: \f$\frac{u(\mu m)^3}{(\mu s)^2 e^2}\f$
|
||||
|
||||
#define T 96.4852558 ///< 1 Tesla. unit: \f$ \frac{u}{(\mu s) e} \f$
|
||||
#define T 9.64852558*1e1 ///< 1 Tesla. unit: \f$ \frac{u}{(\mu s) e} \f$
|
||||
|
||||
#define V 96485255.8 ///< 1 Volt. unit: \f$ \frac{u (\mu m)^2}{(\mu s)^2 e} \f$
|
||||
#define V 9.64852558*1e7 ///< 1 Volt. unit: \f$ \frac{u (\mu m)^2}{(\mu s)^2 e} \f$
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user