GPUE  v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
constants.h
Go to the documentation of this file.
1 //##############################################################################
14  //#############################################################################
15 
16 #ifndef CONSTANTS_H
17 #define CONSTANTS_H
18 
19 #define PI 3.141592653589793
20 #define HBAR 1.05457148e-34 // m^2 kg/s
21 #define MU_N 5.05078324e-27 // J/T Nuclear magneton
22 #define MU_B 9.27400915e-24 // J/T Bohr magneton
23 //#define Q 1.602176565e-19 // C Elementary charge of proton
24 #define MU_0 4*PI*1e-7 // V*S/A*m or H/m or N/A^2 Vacuum permeability
25 #define EPSILON_0 8.854187817620e-12 // F/m Vacuum permittivity
26 #define INV_RT_2 0.7071067811865475 // 1/sqrt(2)
27 #define RT_2 1.4142135623730951 // sqrt(2)
28 
29 #endif