gimme-alpha 0.1

consts.c

Go to the documentation of this file.
00001 /*
00002 ** consts.c
00003 ** 
00004 ** Made by (Johnny Q. Hacker)
00005 ** Login   <solarion@borkborkbork>
00006 ** 
00007 ** Started on  Fri Mar  6 11:55:11 2009 Johnny Q. Hacker
00008 ** Last update Sun May 12 01:17:25 2002 Speed Blue
00009 */
00010 
00011 #include <libpostproc/unit_conversion.h>
00012 
00013 /*http://physics.nist.gov/cgi-bin/cuu/Value?hbarev|search_for=planck
00014   eV s
00015  */
00016 const double oo_hbar = 1.0/6.58211899e-16;
00017 /*http://physics.nist.gov/cgi-bin/cuu/Value?c|search_for=speed+of+light
00018   m / s
00019  */
00020 const double oo_c = 1.0/299792458;
00021 /*http://physics.nist.gov/cgi-bin/cuu/Value?mec2mev|search_for=electron+mass
00022   MeV c^2
00023  */
00024 const double m_e_0 = 0.510998910e6/299792458/299792458;
00025 const double oo_m_e_0 = 1/0.510998910e6*299792458*299792458;
00026 /*http://physics.nist.gov/cgi-bin/cuu/Value?e|search_for=charge
00027   C
00028 */
00029 const double mag_q_e = 1.602176487e-19;
00030 const double oo_mag_q_e = 1.0/1.602176487e-19;
00031 const double oo_q_e = 1.0/-1.602176487e-19;
 All Classes Files Functions Variables Enumerations Enumerator Defines