scifir-units 2.0.0
scifir-units is a library of units of measurement, angles, coordinates, fields, and related data, all lightweight, that help in the development of scientific software and scientific machines
Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1#ifndef SCIFIR_UNITS_UNITS_CONSTANTS_HPP_INCLUDED
2#define SCIFIR_UNITS_UNITS_CONSTANTS_HPP_INCLUDED
3
4#include "./scalar_unit.hpp"
5
6using namespace std;
7
8namespace scifir
9{
10 const long double HYPERFINE_TRANSITION_FREQUENCY_OF_CS = 9192631770.0l;
11 const long double SPEED_OF_LIGHT = 299792458.0l;
12 const long double PLANCK_CONSTANT = 6.62607015e-34;
13 const long double ELEMENTARY_CHARGE = 1.602176634e-19;
14 const long double BOLTZMANN_CONSTANT = 1.380649e-23;
15 const long double AVOGADRO_CONSTANT = 6.02214076e23;
16 const long double LUMINOUS_EFFICACY_OF_540_THZ_RADIATION = 683.0l;
17
18 const long double GRAVITATIONAL_CONSTANT = 6.6743e-11;
19 const long double MOLAR_GAS_CONSTANT = 8.31446261815324l;
20 const long double ATOMIC_MASS_CONSTANT = 1.66053906660e-27;
21 const long double COULOMB_CONSTANT = 8.9875517873681764e9;
22 const long double VACUUM_PERMITTIVITY = 8.8541878188e-12;
23 const long double RYDBERG_CONSTANT = 1.0973731568539e7;
24 const long double FARADAY_CONSTANT = 9.64853321233100184e4;
25
28}
29
30#endif // SCIFIR_UNITS_UNITS_CONSTANTS_HPP_INCLUDED
Class that allows to create scalar units, which are composed of a value (as a float) and dimensions....
The namespace scifir contains all scifir-units, excepting the string literals, which are outside.
Definition address.cpp:6
const long double RYDBERG_CONSTANT
Definition constants.hpp:23
const long double BOLTZMANN_CONSTANT
Definition constants.hpp:14
const long double PLANCK_CONSTANT
Definition constants.hpp:12
const long double ELEMENTARY_CHARGE
Definition constants.hpp:13
const long double FARADAY_CONSTANT
Definition constants.hpp:24
const long double VACUUM_PERMITTIVITY
Definition constants.hpp:22
const long double AVOGADRO_CONSTANT
Definition constants.hpp:15
const long double HYPERFINE_TRANSITION_FREQUENCY_OF_CS
Definition constants.hpp:10
const long double COULOMB_CONSTANT
Definition constants.hpp:21
const long double ATOMIC_MASS_CONSTANT
Definition constants.hpp:20
const long double LUMINOUS_EFFICACY_OF_540_THZ_RADIATION
Definition constants.hpp:16
const long double GRAVITATIONAL_CONSTANT
Definition constants.hpp:18
const long double MOLAR_GAS_CONSTANT
Definition constants.hpp:19
const scalar_unit WGS84_EARTH_SEMIAXIS_B
Definition constants.cpp:10
const long double SPEED_OF_LIGHT
Definition constants.hpp:11
const scalar_unit WGS84_EARTH_SEMIAXIS_A
Definition constants.cpp:9