Constants. More...
Functions | |
template<class fp_t > | |
fp_t | planck_f (size_t system=o2scl_mks) |
Planck constant. | |
template<class fp_t > | |
fp_t | hbar_f (size_t system=o2scl_mks) |
Reduced Planck constant. | |
template<class fp_t > | |
fp_t | speed_of_light_f (size_t system=o2scl_mks) |
Speed of light. | |
template<class fp_t > | |
fp_t | elem_charge_f () |
Elementary charge. | |
template<class fp_t > | |
fp_t | hc_mev_fm_f () |
Reduced Planck constant times speed of light in ![]() | |
Variables | |
const double | yotta =1e24 |
const double | zetta =1e21 |
const double | exa =1e18 |
const double | peta =1e15 |
const double | tera =1e12 |
const double | giga =1e9 |
const double | mega =1e6 |
const double | kilo =1e3 |
const double | milli =1e-3 |
const double | micro =1e-6 |
const double | nano =1e-9 |
const double | pico =1e-12 |
const double | femto =1e-15 |
const double | atto =1e-18 |
const double | zepto =1e-21 |
const double | yocto =1e-24 |
const double | fine_structure =7.2973525693e-3 |
Fine structure constant (CODATA 2018 value) | |
const double | avogadro =6.02214076e23 |
Avogadro's number (CODATA 2018 value; exact) | |
const double | pi =boost::math::constants::pi<double>() |
![]() | |
const double | pi2 =boost::math::constants::pi_sqr<double>() |
![]() | |
const double | zeta32 =2.6123753486854883433 |
![]() | |
const double | zeta2 =boost::math::constants::zeta_two<double>() |
![]() | |
const double | zeta52 =1.3414872572509171798 |
![]() | |
const double | zeta3 =boost::math::constants::zeta_three<double>() |
![]() | |
const double | zeta5 =1.0369277551433699263 |
![]() | |
const double | zeta7 =1.0083492773819228268 |
![]() | |
const double | sin2_theta_weak =0.23122 |
![]() | |
static const size_t | o2scl_mks =1 |
MKS units. | |
static const size_t | o2scl_cgs =2 |
CGS units. | |
const double | hc_mev_fm =hc_mev_fm_f<double>() |
![]() | |
const double | hc_mev_cm =hc_mev_fm*1.0e-13 |
![]() | |
CODATA 2014 values are in Mohr16. CODATA 2018 values are from physics.nist.gov/constants.
const double o2scl_const::e2_gaussian |
const double o2scl_const::e2_hlorentz =o2scl_const::fine_structure*4.0*pi |
const double o2scl_const::e2_mks =o2scl_mks::electron_charge |
In MKS units:
Note the conversion formulas
as mentioned, e.g. in pg. 13 of D. Griffiths Intro to Elem. Particles.
Definition at line 993 of file constants.h.
const double o2scl_const::ec_gauss_fm2 |
Definition at line 999 of file constants.h.
const double o2scl_const::gauss2_fm4 |
This is useful, e.g. in converting magnetic field squared to an energy density.
Definition at line 1008 of file constants.h.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).