// // physical_constants.hpp // // Copyright (c) 2001 by Michael S. Kenniston. The most recent // version will be available at www.boost.org. Permission is granted // to use this code without restriction so long as this copyright // notice appears in all source files. // This code is provided as-is, with no warrantee of correctness. // Unless otherwise specified, the definitions of all units in this // file are from NIST Special Publication 811, found online at // http://physics.nist.gov/Document/sp811.pdf, or from other NIST // web pages. #ifndef _BFAFCE63_5FA7_11d5_B9D8_000000000000 #define _BFAFCE63_5FA7_11d5_B9D8_000000000000 #include "quantity.hpp" namespace quantities { inline Rep pi() { return 3.14159; } inline quantity< mass_d > atomic_mass_constant() { return 1.66053873e-27 * kilogram(); } //inline number natural_log_base() { return ? ; } //inline number avogadro_constant() { return ?; } //inline number faraday_constant() { return ?; } //inline ? gravitational_constant() { return ?; } inline quantity< energy_d > electronvolt() { return 1.60217733e-19 * joule(); } inline quantity< mass_d > unified_atomic_mass_unit() { return 1.6605402e-27 * kilogram(); } inline quantity< acceleration_d > free_fall_gn() { return 9.80665 * meter() / second() / second(); } //inline quantity< speed_d > speed_of_light() { return 1 * meter() / second(); } //inline quantity< charge_d > electron_charge() { return 1 * ? ; } //inline quantity< mass_d > electron_mass() { return 1 * kilogram(); } //inline ? plancks_constant() { return ? ; } //inline ? fine_structure_constant() { return ? ; } } // namespace quantities #endif // _BFAFCE63_5FA7_11d5_B9D8_000000000000