occ
Loading...
Searching...
No Matches
constants.h File Reference

Namespaces

namespace  occ
 
namespace  occ::constants
 definitions of scientific and math constants
 

Variables

template<class T >
constexpr T occ::constants::pi
 
template<class T >
constexpr T occ::constants::two_pi = T(6.2831853071795864769252867665590057683943388015061)
 
template<class T >
constexpr T occ::constants::sqrt_pi = T(1.7724538509055160272981674833411451827975)
 
template<class T >
constexpr T occ::constants::sqrt_half_pi = T(1.253314137315500251207882642405522626503)
 
template<class T >
constexpr T occ::constants::sqrt_two_pi = T(2.506628274631000502415765284811045253007)
 
template<class T >
constexpr T occ::constants::e
 
template<class T >
constexpr T occ::constants::angstroms_per_bohr = T(0.52917721092000002923994491662820121095)
 
template<class T >
constexpr T occ::constants::bohr_per_angstrom = T(1.889726124565061881906545595284207)
 
template<class T >
constexpr T occ::constants::kj_per_kcal = T(0.2390057361376673040152963671128107)
 
template<class T >
constexpr T occ::constants::kcal_per_kj = T(4.18400000000000000000000000000000000)
 
template<class T >
constexpr T occ::constants::rad_per_deg = T(pi<T> / 180.0)
 
template<class T >
constexpr T occ::constants::deg_per_rad = T(180.0 / pi<T>)
 
template<class T >
constexpr T occ::constants::planck = T(6.62607015000000000000000e-34)
 
template<class T >
constexpr T occ::constants::avogadro = T(6.02214076000000000000000e23)
 
template<class T >
constexpr T occ::constants::speed_of_light = T(2.99792458000000000000000e8)
 
template<class T >
constexpr T occ::constants::molar_gas_constant = T(8.314462618)
 
template<class T >
constexpr T occ::constants::molar_mass_constant = T(0.99999999965e-3)
 
template<class T >
constexpr T occ::constants::celsius = T(273.15)
 
template<class T >
constexpr T occ::constants::boltzmann = T(1.38066244e-23)