/* []----------------------------------------[] | Constants.h | []----------------------------------------[] | | | AUTHOR: MFSomers 2005. | | USE: Some elementry constants | | often used ... | | | []----------------------------------------[] */ // Copyright (C) 2005 M.F. Somers, Theoretical Chemistry Department, Leiden University // // This is free software; you can redistribute it and/or modify it under the terms of // the GNU Lesser General Public License as published by the Free Software Foundation. // // http://www.gnu.org/licenses/lgpl.txt #if !defined(__CONSTANTS_INCLUDED__) #define __CONSTANTS_INCLUDED__ /* ---------------------------------------------------------------------------- */ /* all constants are defined in SI */ #define CONST_PI 3.141592653589793E+000 #define CONST_HUGE_VALUE 1.000000000000000E+300 #define CONST_EPSILON 1.000000000000000E-012 #define CONST_SPEED_OF_LIGHT 2.997924580000000E+008 /* m/s */ #define CONST_ELEM_CHARGE 1.602176000000000E-019 /* C */ #define CONST_PLANCK 6.626068800000000E-034 /* J*s */ #define CONST_BOLTZMANN 1.380650000000000E-023 /* J/K */ #define CONST_AVOGADRO 6.022140000000000E+023 /* 1/mol */ #define CONST_RYDBERG 1.097373157000000E+005 /* 1/cm */ #define CONST_HARTREE 4.359743800000000E-018 /* J */ #define CONST_ELECTRONVOLT 1.602176486215346E-019 /* J */ #define CONST_MASS_ELECTRON 9.109380000000000E-031 /* kg */ #define CONST_MASS_PROTON 1.672620000000000E-027 /* kg */ #define CONST_MASS_NEUTRON 1.674930000000000E-027 /* kg */ #define CONST_ATOMIC_MASS 1.660540000000000E-027 /* kg */ #define CONST_VACUUM_PERMITTIVITY 8.854187817000000E-012 /* C^2/(J*m) */ #define CONST_BOHR_MAGNETON 9.274009000000000E-024 /* J/T */ #define CONST_NUCLEAR_MAGNETON 5.050783200000000E-027 /* J/T */ #define CONST_G_ELECTRON 2.002319304000000E+000 #define CONST_BOHR_RADIUS 5.291772080000000E-011 /* m */ #define CONST_HYPERFINE_STRUCT 7.297352530000000E-003 #define CONST_GRAVITATIONAL_CONST 6.673000000000000E-011 /* m^3/(kg*s^2) */ /* ---------------------------------------------------------------------------- */ #endif