98 const double g_si = 6.6743E-11 ;
99 const double c_si = 2.99792458E+8 ;
100 const double kB_si = 1.380649E-23 ;
101 const double m_u_si = 1.6605390666E-27 ;
102 const double mev_si = 1.602176634E-13 ;
103 const double rhonuc_si = m_u_si * 1.e44 ;
105 const double km_si = 1.E+3 ;
106 const double msol_si = 1.9885E+30 ;
108 const double r_unit = 1.e4 ;
109 const double v_unit = c_si ;
110 const double rho_unit = rhonuc_si ;
111 const double t_unit = r_unit/v_unit ;
112 const double m_unit = rho_unit * r_unit*r_unit*r_unit ;
113 const double g_unit = 1./(rho_unit*t_unit*t_unit) ;
114 const double f_unit = 1./t_unit ;
116 const double ggrav = g_si / g_unit ;
117 const double qpig = 4 * M_PI * ggrav ;
118 const double msol = msol_si/m_unit ;
119 const double km = km_si/r_unit ;
120 const double mevpfm3 = mev_si/( rho_unit * v_unit *v_unit) *1.e45 ;
123 const double m_u_mev = m_u_si *c_si*c_si / mev_si ;
140 const double mu_si = 1.2566370614359173e-6 ;
142 const double j_unit = 1e11 ;
145 const double mag_unit = rho_unit*v_unit*v_unit/ (r_unit * j_unit) ;
147 const double elec_unit = mag_unit * v_unit ;
149 const double mu0_unit = rho_unit*v_unit*v_unit / (j_unit*j_unit*r_unit*r_unit);
151 const double mu0 = mu_si / mu0_unit ;
Standard units of space, time and mass.
Standard electro-magnetic units.