81 const double g_si = 6.6738E-11 ;
82 const double c_si = 2.99792458E+8 ;
83 const double kB_si = 1.3806488E-23 ;
84 const double rhonuc_si = 1.66E+17 ;
85 const double km_si = 1.E+3 ;
86 const double msol_si = 1.9885E+30 ;
87 const double mev_si = 1.602176565E-13 ;
89 const double r_unit = 1.e4 ;
90 const double v_unit = c_si ;
91 const double rho_unit = rhonuc_si ;
92 const double t_unit = r_unit/v_unit ;
93 const double m_unit = rho_unit *
pow(r_unit, 3.) ;
94 const double g_unit = 1./(rho_unit*t_unit*t_unit) ;
95 const double f_unit = 1./t_unit ;
97 const double ggrav = g_si / g_unit ;
98 const double qpig = 4 * M_PI * ggrav ;
99 const double msol = msol_si/m_unit ;
100 const double km = km_si/r_unit ;
102 const double mevpfm3 = mev_si/( rho_unit * v_unit *v_unit) *1.e45 ;
104 const double m_u_mev = rho_unit / 1.e44 *c_si*c_si / mev_si ;
121 const double mu_si = 1.2566370614359173e-6 ;
123 const double j_unit = 1e11 ;
126 const double mag_unit = rho_unit*v_unit*v_unit/ (r_unit * j_unit) ;
128 const double elec_unit = mag_unit * v_unit ;
131 const double mu0_unit = rho_unit*v_unit*v_unit / (
pow(j_unit ,2)*
pow(r_unit,2));
133 const double mu0 = mu_si / mu0_unit ;
Cmp pow(const Cmp &, int)
Power .
Standard electro-magnetic units.
Standard units of space, time and mass.