Antkeeper  0.0.1
Variables
physics::constants Namespace Reference

Physical constants. More...

Variables

template<class T >
constexpr T avogadro = T(6.02214076e+23)
 Avogadro number (N). More...
 
template<class T >
constexpr T boltzmann = T(1.380649e-23)
 Boltzmann constant (k), in joule per kelvin. More...
 
template<class T >
constexpr T gas = T(8.31446261815324)
 Molar gas constant (R), in joule per kelvin per mole. More...
 
template<class T >
constexpr T gravitational = T(6.67430e-11)
 Gravitational constant (G), in cubic meter per second squared per kilogram. More...
 
template<class T >
constexpr T planck = T(6.62607015e-34)
 Planck constant (h), in joule per hertz. More...
 
template<class T >
constexpr T stefan_boltzmann = T(5.67037441918442945397099673188923087584012297029130e-8)
 Stefan-Boltzmann constant (sigma), in watt per square meter kelvin to the fourth. More...
 
template<class T >
constexpr T speed_of_light = T(299792458)
 Speed of light in vacuum (c), in meters per second. More...
 

Detailed Description

Physical constants.

Variable Documentation

◆ avogadro

template<class T >
constexpr T physics::constants::avogadro = T(6.02214076e+23)
constexpr

Avogadro number (N).

See also
https://physics.nist.gov/cgi-bin/cuu/Value?na

Definition at line 34 of file constants.hpp.

◆ boltzmann

template<class T >
constexpr T physics::constants::boltzmann = T(1.380649e-23)
constexpr

Boltzmann constant (k), in joule per kelvin.

See also
https://physics.nist.gov/cgi-bin/cuu/Value?k

Definition at line 42 of file constants.hpp.

◆ gas

template<class T >
constexpr T physics::constants::gas = T(8.31446261815324)
constexpr

Molar gas constant (R), in joule per kelvin per mole.

See also
https://en.wikipedia.org/wiki/Gas_constant

Definition at line 50 of file constants.hpp.

◆ gravitational

template<class T >
constexpr T physics::constants::gravitational = T(6.67430e-11)
constexpr

Gravitational constant (G), in cubic meter per second squared per kilogram.

See also
https://physics.nist.gov/cgi-bin/cuu/Value?G

Definition at line 58 of file constants.hpp.

◆ planck

template<class T >
constexpr T physics::constants::planck = T(6.62607015e-34)
constexpr

Planck constant (h), in joule per hertz.

See also
https://physics.nist.gov/cgi-bin/cuu/Value?h

Definition at line 66 of file constants.hpp.

◆ speed_of_light

template<class T >
constexpr T physics::constants::speed_of_light = T(299792458)
constexpr

Speed of light in vacuum (c), in meters per second.

See also
https://physics.nist.gov/cgi-bin/cuu/Value?c

Definition at line 82 of file constants.hpp.

◆ stefan_boltzmann

template<class T >
constexpr T physics::constants::stefan_boltzmann = T(5.67037441918442945397099673188923087584012297029130e-8)
constexpr

Stefan-Boltzmann constant (sigma), in watt per square meter kelvin to the fourth.

See also
https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_constant

Definition at line 74 of file constants.hpp.