36 lines
725 B
C++
36 lines
725 B
C++
/** @file constants.hpp
|
|
*
|
|
* @author Cory Alexander Balaton (coryab)
|
|
* @author Janita Ovidie Sandtrøen Willumsen (janitaws)
|
|
*
|
|
* @version 1.0
|
|
*
|
|
* @brief Library of constants
|
|
*
|
|
* @bug No known bugs
|
|
* */
|
|
#ifndef __CONST__
|
|
#define __CONST__
|
|
|
|
/** @brief Coulomb constant. unit: \f$\frac{u(\mu m)^3}{(\mu s)^2 e^2}\f$
|
|
* */
|
|
#define K_E 1.38935333 * 1e5
|
|
|
|
/** @brief 1 Tesla. unit: \f$ \frac{u}{(\mu s) e} \f$
|
|
* */
|
|
#define T 9.64852558 * 1e1
|
|
|
|
/** @brief 1 Volt. unit: \f$ \frac{u (\mu m)^2}{(\mu s)^2 e} \f$
|
|
* */
|
|
#define V 9.64852558 * 1e7
|
|
|
|
/** @brief Mass of a single calcium ion. unit: amu
|
|
* */
|
|
#define CA_MASS 40.078
|
|
|
|
/** @brief Charge of a singly charged calcium ion. unit: e
|
|
* */
|
|
#define CA_CHARGE 1.
|
|
|
|
#endif
|