Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Elements::Kernel::Units Namespace Reference

Enumerations

enum class  StorageType {
  Byte , KiloByte , MegaByte , GigaByte ,
  TeraByte , PetaByte , MetricKiloByte , MetricMegaByte ,
  MetricGigaByte , MetricTeraByte , MetricPetaByte
}

Functions

template<typename T>
ELEMENTS_APIroundToDigits (const T &value, const std::size_t &max_digits)
template ELEMENTS_API double roundToDigits< double > (const double &value, const std::size_t &max_digits)
template ELEMENTS_API float roundToDigits< float > (const float &value, const std::size_t &max_digits)
template<std::size_t max_digits, typename T>
ELEMENTS_APIstorageConvert (const T &size, StorageType source_unit, StorageType target_unit)
template<typename T>
ELEMENTS_APIstorageConvert (const T &size, StorageType source_unit, StorageType target_unit)
template ELEMENTS_API double storageConvert< double > (const double &size, StorageType source_unit, StorageType target_unit)
template ELEMENTS_API float storageConvert< float > (const float &size, StorageType source_unit, StorageType target_unit)
template ELEMENTS_API std::int64_t storageConvert< std::int64_t > (const std::int64_t &size, StorageType source_unit, StorageType target_unit)
template int64_t storageConvert< int64_t > (const int64_t &size, StorageType source_unit, StorageType target_unit)

Variables

constexpr double pi = 3.14159265358979323846
 \(\pi\)
constexpr double twopi = 2.0 * pi
 \(2\pi\)
constexpr double halfpi = pi / 2.0
 \(\pi/2\)
constexpr double pi2 = pi * pi
 \(\pi^2\)
constexpr double sqrt_of_pi = 1.77245385090551602730
 \(\sqrt{\pi}\)
constexpr double sqrt_of_two = 1.41421356237309504880
 \(\sqrt{2}\)
constexpr double sqrt_of_halfpi = 1.25331413731550025121
 \(\sqrt{\frac{\pi}{2}}\)
constexpr double gamma = 0.57721566490153286061
 The Euler-Mascheroni \(\gamma\) constant.
constexpr double e = 2.71828182845904523536
 The base of the natural logarithm \(e\).
constexpr double Avogadro = 6.0221367e+23 / mole
 \(N_A\)
constexpr double c_light = 2.99792458e+8 * m / s
 \(c\)
constexpr double c_squared = c_light * c_light
 \(c^2\)
constexpr double h_Planck = 6.62606957e-34 * joule * s
 \( h \)
constexpr double hbar_Planck = h_Planck / twopi
 \( \hbar=h/2\pi\)
constexpr double hbarc = hbar_Planck * c_light
 \( \hbar c\)
constexpr double hbarc_squared = hbarc * hbarc
 \( (\hbar c)^2\)
constexpr double electron_charge = -eplus
 \( -e \)
constexpr double e_squared = eplus * eplus
 \( e^2 \)
constexpr double electron_mass = 9.10938291e-31 * kg
 \( m_e \)
constexpr double proton_mass = 1.672621777e-27 * kg
 \( m_p \)
constexpr double amu = 1.660538921e-27 * kg
constexpr double mu0 = 4 * pi * 1.e-7 * henry / m
 permeability of free space \(\mu_0\)
constexpr double epsilon0 = 1. / (c_squared * mu0)
 permeability of free space \(\epsilon_0=1/(c^2\mu_0)\)
constexpr double elm_coupling = e_squared / (4 * pi * epsilon0)
constexpr double fine_structure_const = elm_coupling / hbarc
 \( \alpha=e^2/(4\pi\epsilon_0\hbar c)\)
constexpr double k_Boltzmann = 1.3806488e-23 * joule / kelvin
constexpr double STP_Temperature = 273.15 * kelvin
 Standard Temperature and Pressure.
constexpr double STP_Pressure = 1. * atmosphere
constexpr double kGasThreshold = 10. * mg / cm3
constexpr double universe_mean_density = 1.e-25 * g / cm3
ELEMENTS_API std::map< StorageType, std::stringStorageShortName
ELEMENTS_API std::map< StorageType, std::int64_tStorageFactor
constexpr double meter = 1.0
constexpr double meter2 = meter * meter
constexpr double meter3 = meter * meter * meter
constexpr double millimeter = 1.e-3 * meter
constexpr double millimeter2 = millimeter * millimeter
constexpr double millimeter3 = millimeter * millimeter * millimeter
constexpr double centimeter = 1.e-2 * meter
constexpr double centimeter2 = centimeter * centimeter
constexpr double centimeter3 = centimeter * centimeter * centimeter
constexpr double kilometer = 1000. * meter
constexpr double kilometer2 = kilometer * kilometer
constexpr double kilometer3 = kilometer * kilometer * kilometer
constexpr double parsec = 3.0856775807e+16 * meter
constexpr double micrometer = 1.e-6 * meter
constexpr double nanometer = 1.e-9 * meter
constexpr double angstrom = 1.e-10 * meter
constexpr double fermi = 1.e-15 * meter
constexpr double barn = 1.e-28 * meter2
constexpr double millibarn = 1.e-3 * barn
constexpr double microbarn = 1.e-6 * barn
constexpr double nanobarn = 1.e-9 * barn
constexpr double picobarn = 1.e-12 * barn
constexpr double nm = nanometer
constexpr double um = micrometer
constexpr double mm = millimeter
constexpr double mm2 = millimeter2
constexpr double mm3 = millimeter3
constexpr double cm = centimeter
constexpr double cm2 = centimeter2
constexpr double cm3 = centimeter3
constexpr double m = meter
constexpr double m2 = meter2
constexpr double m3 = meter3
constexpr double km = kilometer
constexpr double km2 = kilometer2
constexpr double km3 = kilometer3
constexpr double pc = parsec
constexpr double radian = 1.
constexpr double milliradian = 1.e-3 * radian
constexpr double degree = (pi / 180.0) * radian
constexpr double steradian = 1.
constexpr double rad = radian
constexpr double mrad = milliradian
constexpr double sr = steradian
constexpr double deg = degree
constexpr double second = 1.
constexpr double nanosecond = 1.e-9 * second
constexpr double millisecond = 1.e-3 * second
constexpr double microsecond = 1.e-6 * second
constexpr double picosecond = 1.e-12 * second
constexpr double femtosecond = 1.e-15 * second
constexpr double hertz = 1. / second
constexpr double kilohertz = 1.e+3 * hertz
constexpr double megahertz = 1.e+6 * hertz
constexpr double ns = nanosecond
constexpr double s = second
constexpr double ms = millisecond
constexpr double ampere = 1.0
constexpr double milliampere = 1.e-3 * ampere
constexpr double microampere = 1.e-6 * ampere
constexpr double nanoampere = 1.e-9 * ampere
constexpr double coulomb = ampere * second
constexpr double eplus = 1.
constexpr double e_SI = 1.602176565e-19 * coulomb
constexpr double kilogram = 1.0
constexpr double gram = 1.e-3 * kilogram
constexpr double milligram = 1.e-3 * gram
constexpr double kg = kilogram
constexpr double g = gram
constexpr double mg = milligram
constexpr double joule = kilogram * (meter * meter) / (second * second)
constexpr double electronvolt = joule * e_SI
constexpr double megaelectronvolt = 1.e+6 * electronvolt
constexpr double kiloelectronvolt = 1.e+3 * electronvolt
constexpr double gigaelectronvolt = 1.e+9 * electronvolt
constexpr double teraelectronvolt = 1.e+12 * electronvolt
constexpr double petaelectronvolt = 1.e+15 * electronvolt
constexpr double erg = 1.e-7 * joule
constexpr double MeV = megaelectronvolt
constexpr double eV = electronvolt
constexpr double keV = kiloelectronvolt
constexpr double GeV = gigaelectronvolt
constexpr double TeV = teraelectronvolt
constexpr double PeV = petaelectronvolt
constexpr double watt = joule / second
constexpr double newton = joule / meter
constexpr double Pa = newton / m2
constexpr double bar = 100000 * Pa
constexpr double atmosphere = 101325 * Pa
constexpr double volt = electronvolt / eplus
constexpr double megavolt = 1.e+6 * volt
constexpr double kilovolt = 1.e+3 * volt
constexpr double ohm = volt / ampere
constexpr double farad = coulomb / volt
constexpr double millifarad = 1.e-3 * farad
constexpr double microfarad = 1.e-6 * farad
constexpr double nanofarad = 1.e-9 * farad
constexpr double picofarad = 1.e-12 * farad
constexpr double weber = volt * second
constexpr double tesla = volt * second / meter2
constexpr double gauss = 1.e-4 * tesla
constexpr double kilogauss = 1.e-1 * tesla
constexpr double henry = weber / ampere
constexpr double kelvin = 1.
constexpr double mole = 1.
constexpr double becquerel = 1. / second
constexpr double curie = 3.7e+10 * becquerel
constexpr double gray = joule / kilogram
constexpr double candela = 1.
constexpr double lumen = candela * steradian
constexpr double jansky = 1.e-26 * watt / (m2 * hertz)
constexpr double microjansky = 1.e-6 * jansky
constexpr double lux = lumen / meter2
constexpr double perCent = 0.01
constexpr double perThousand = 0.001
constexpr double perMillion = 0.000001

Enumeration Type Documentation

◆ StorageType

Enumerator
Byte 
KiloByte 
MegaByte 
GigaByte 
TeraByte 
PetaByte 
MetricKiloByte 
MetricMegaByte 
MetricGigaByte 
MetricTeraByte 
MetricPetaByte 

Definition at line 40 of file Storage.h.

Function Documentation

◆ roundToDigits()

template<typename T>
ELEMENTS_API T Elements::Kernel::Units::roundToDigits ( const T & value,
const std::size_t & max_digits )

References ELEMENTS_API.

◆ roundToDigits< double >()

template double Elements::Kernel::Units::roundToDigits< double > ( const double & value,
const std::size_t & max_digits )
extern

References ELEMENTS_API.

◆ roundToDigits< float >()

template float Elements::Kernel::Units::roundToDigits< float > ( const float & value,
const std::size_t & max_digits )
extern

References ELEMENTS_API.

◆ storageConvert() [1/2]

template<std::size_t max_digits, typename T>
ELEMENTS_API T Elements::Kernel::Units::storageConvert ( const T & size,
StorageType source_unit,
StorageType target_unit )

References ELEMENTS_API.

◆ storageConvert() [2/2]

template<typename T>
ELEMENTS_API T Elements::Kernel::Units::storageConvert ( const T & size,
StorageType source_unit,
StorageType target_unit )

References ELEMENTS_API.

◆ storageConvert< double >()

template double Elements::Kernel::Units::storageConvert< double > ( const double & size,
StorageType source_unit,
StorageType target_unit )
extern

References ELEMENTS_API.

◆ storageConvert< float >()

template float Elements::Kernel::Units::storageConvert< float > ( const float & size,
StorageType source_unit,
StorageType target_unit )
extern

References ELEMENTS_API.

◆ storageConvert< int64_t >()

template int64_t Elements::Kernel::Units::storageConvert< int64_t > ( const int64_t & size,
StorageType source_unit,
StorageType target_unit )

◆ storageConvert< std::int64_t >()

References ELEMENTS_API.

Variable Documentation

◆ ampere

double Elements::Kernel::Units::ampere = 1.0
constexpr

Definition at line 127 of file SystemOfUnits.h.

◆ amu

double Elements::Kernel::Units::amu = 1.660538921e-27 * kg
constexpr

Definition at line 62 of file PhysConstants.h.

◆ angstrom

double Elements::Kernel::Units::angstrom = 1.e-10 * meter
constexpr

Definition at line 58 of file SystemOfUnits.h.

◆ atmosphere

double Elements::Kernel::Units::atmosphere = 101325 * Pa
constexpr

Definition at line 186 of file SystemOfUnits.h.

◆ Avogadro

double Elements::Kernel::Units::Avogadro = 6.0221367e+23 / mole
constexpr

\(N_A\)

Definition at line 37 of file PhysConstants.h.

◆ bar

double Elements::Kernel::Units::bar = 100000 * Pa
constexpr

Definition at line 185 of file SystemOfUnits.h.

◆ barn

double Elements::Kernel::Units::barn = 1.e-28 * meter2
constexpr

Definition at line 61 of file SystemOfUnits.h.

◆ becquerel

double Elements::Kernel::Units::becquerel = 1. / second
constexpr

Definition at line 239 of file SystemOfUnits.h.

◆ c_light

double Elements::Kernel::Units::c_light = 2.99792458e+8 * m / s
constexpr

\(c\)

Definition at line 40 of file PhysConstants.h.

◆ c_squared

double Elements::Kernel::Units::c_squared = c_light * c_light
constexpr

\(c^2\)

Definition at line 42 of file PhysConstants.h.

◆ candela

double Elements::Kernel::Units::candela = 1.
constexpr

Definition at line 250 of file SystemOfUnits.h.

◆ centimeter

double Elements::Kernel::Units::centimeter = 1.e-2 * meter
constexpr

Definition at line 46 of file SystemOfUnits.h.

◆ centimeter2

double Elements::Kernel::Units::centimeter2 = centimeter * centimeter
constexpr

Definition at line 47 of file SystemOfUnits.h.

◆ centimeter3

double Elements::Kernel::Units::centimeter3 = centimeter * centimeter * centimeter
constexpr

Definition at line 48 of file SystemOfUnits.h.

◆ cm

double Elements::Kernel::Units::cm = centimeter
constexpr

Definition at line 75 of file SystemOfUnits.h.

◆ cm2

double Elements::Kernel::Units::cm2 = centimeter2
constexpr

Definition at line 76 of file SystemOfUnits.h.

◆ cm3

double Elements::Kernel::Units::cm3 = centimeter3
constexpr

Definition at line 77 of file SystemOfUnits.h.

◆ coulomb

double Elements::Kernel::Units::coulomb = ampere * second
constexpr

Definition at line 135 of file SystemOfUnits.h.

◆ curie

double Elements::Kernel::Units::curie = 3.7e+10 * becquerel
constexpr

Definition at line 240 of file SystemOfUnits.h.

◆ deg

double Elements::Kernel::Units::deg = degree
constexpr

Definition at line 102 of file SystemOfUnits.h.

◆ degree

double Elements::Kernel::Units::degree = (pi / 180.0) * radian
constexpr

Definition at line 94 of file SystemOfUnits.h.

◆ e

double Elements::Kernel::Units::e = 2.71828182845904523536
constexpr

The base of the natural logarithm \(e\).

Definition at line 51 of file MathConstants.h.

◆ e_SI

double Elements::Kernel::Units::e_SI = 1.602176565e-19 * coulomb
constexpr

Definition at line 137 of file SystemOfUnits.h.

◆ e_squared

double Elements::Kernel::Units::e_squared = eplus * eplus
constexpr

\( e^2 \)

Definition at line 56 of file PhysConstants.h.

◆ electron_charge

double Elements::Kernel::Units::electron_charge = -eplus
constexpr

\( -e \)

Definition at line 54 of file PhysConstants.h.

◆ electron_mass

double Elements::Kernel::Units::electron_mass = 9.10938291e-31 * kg
constexpr

\( m_e \)

Definition at line 59 of file PhysConstants.h.

◆ electronvolt

double Elements::Kernel::Units::electronvolt = joule * e_SI
constexpr

Definition at line 155 of file SystemOfUnits.h.

◆ elm_coupling

double Elements::Kernel::Units::elm_coupling = e_squared / (4 * pi * epsilon0)
constexpr

Definition at line 69 of file PhysConstants.h.

◆ eplus

double Elements::Kernel::Units::eplus = 1.
constexpr

Definition at line 136 of file SystemOfUnits.h.

◆ epsilon0

double Elements::Kernel::Units::epsilon0 = 1. / (c_squared * mu0)
constexpr

permeability of free space \(\epsilon_0=1/(c^2\mu_0)\)

Definition at line 67 of file PhysConstants.h.

◆ erg

double Elements::Kernel::Units::erg = 1.e-7 * joule
constexpr

Definition at line 161 of file SystemOfUnits.h.

◆ eV

double Elements::Kernel::Units::eV = electronvolt
constexpr

Definition at line 165 of file SystemOfUnits.h.

◆ farad

double Elements::Kernel::Units::farad = coulomb / volt
constexpr

Definition at line 203 of file SystemOfUnits.h.

◆ femtosecond

double Elements::Kernel::Units::femtosecond = 1.e-15 * second
constexpr

Definition at line 113 of file SystemOfUnits.h.

◆ fermi

double Elements::Kernel::Units::fermi = 1.e-15 * meter
constexpr

Definition at line 59 of file SystemOfUnits.h.

◆ fine_structure_const

double Elements::Kernel::Units::fine_structure_const = elm_coupling / hbarc
constexpr

\( \alpha=e^2/(4\pi\epsilon_0\hbar c)\)

Definition at line 71 of file PhysConstants.h.

◆ g

double Elements::Kernel::Units::g = gram
constexpr

Definition at line 148 of file SystemOfUnits.h.

◆ gamma

double Elements::Kernel::Units::gamma = 0.57721566490153286061
constexpr

The Euler-Mascheroni \(\gamma\) constant.

Definition at line 49 of file MathConstants.h.

◆ gauss

double Elements::Kernel::Units::gauss = 1.e-4 * tesla
constexpr

Definition at line 218 of file SystemOfUnits.h.

◆ GeV

double Elements::Kernel::Units::GeV = gigaelectronvolt
constexpr

Definition at line 167 of file SystemOfUnits.h.

◆ gigaelectronvolt

double Elements::Kernel::Units::gigaelectronvolt = 1.e+9 * electronvolt
constexpr

Definition at line 158 of file SystemOfUnits.h.

◆ gram

double Elements::Kernel::Units::gram = 1.e-3 * kilogram
constexpr

Definition at line 143 of file SystemOfUnits.h.

◆ gray

double Elements::Kernel::Units::gray = joule / kilogram
constexpr

Definition at line 245 of file SystemOfUnits.h.

◆ h_Planck

double Elements::Kernel::Units::h_Planck = 6.62606957e-34 * joule * s
constexpr

\( h \)

Definition at line 45 of file PhysConstants.h.

◆ halfpi

double Elements::Kernel::Units::halfpi = pi / 2.0
constexpr

\(\pi/2\)

Definition at line 38 of file MathConstants.h.

◆ hbar_Planck

double Elements::Kernel::Units::hbar_Planck = h_Planck / twopi
constexpr

\( \hbar=h/2\pi\)

Definition at line 47 of file PhysConstants.h.

◆ hbarc

double Elements::Kernel::Units::hbarc = hbar_Planck * c_light
constexpr

\( \hbar c\)

Definition at line 49 of file PhysConstants.h.

◆ hbarc_squared

double Elements::Kernel::Units::hbarc_squared = hbarc * hbarc
constexpr

\( (\hbar c)^2\)

Definition at line 51 of file PhysConstants.h.

◆ henry

double Elements::Kernel::Units::henry = weber / ampere
constexpr

Definition at line 224 of file SystemOfUnits.h.

◆ hertz

double Elements::Kernel::Units::hertz = 1. / second
constexpr

Definition at line 115 of file SystemOfUnits.h.

◆ jansky

double Elements::Kernel::Units::jansky = 1.e-26 * watt / (m2 * hertz)
constexpr

Definition at line 256 of file SystemOfUnits.h.

◆ joule

double Elements::Kernel::Units::joule = kilogram * (meter * meter) / (second * second)
constexpr

Definition at line 154 of file SystemOfUnits.h.

◆ k_Boltzmann

double Elements::Kernel::Units::k_Boltzmann = 1.3806488e-23 * joule / kelvin
constexpr

Definition at line 73 of file PhysConstants.h.

◆ kelvin

double Elements::Kernel::Units::kelvin = 1.
constexpr

Definition at line 229 of file SystemOfUnits.h.

◆ keV

double Elements::Kernel::Units::keV = kiloelectronvolt
constexpr

Definition at line 166 of file SystemOfUnits.h.

◆ kg

double Elements::Kernel::Units::kg = kilogram
constexpr

Definition at line 147 of file SystemOfUnits.h.

◆ kGasThreshold

double Elements::Kernel::Units::kGasThreshold = 10. * mg / cm3
constexpr

Definition at line 78 of file PhysConstants.h.

◆ kiloelectronvolt

double Elements::Kernel::Units::kiloelectronvolt = 1.e+3 * electronvolt
constexpr

Definition at line 157 of file SystemOfUnits.h.

◆ kilogauss

double Elements::Kernel::Units::kilogauss = 1.e-1 * tesla
constexpr

Definition at line 219 of file SystemOfUnits.h.

◆ kilogram

double Elements::Kernel::Units::kilogram = 1.0
constexpr

Definition at line 142 of file SystemOfUnits.h.

◆ kilohertz

double Elements::Kernel::Units::kilohertz = 1.e+3 * hertz
constexpr

Definition at line 116 of file SystemOfUnits.h.

◆ kilometer

double Elements::Kernel::Units::kilometer = 1000. * meter
constexpr

Definition at line 50 of file SystemOfUnits.h.

◆ kilometer2

double Elements::Kernel::Units::kilometer2 = kilometer * kilometer
constexpr

Definition at line 51 of file SystemOfUnits.h.

◆ kilometer3

double Elements::Kernel::Units::kilometer3 = kilometer * kilometer * kilometer
constexpr

Definition at line 52 of file SystemOfUnits.h.

◆ kilovolt

double Elements::Kernel::Units::kilovolt = 1.e+3 * volt
constexpr

Definition at line 193 of file SystemOfUnits.h.

◆ km

double Elements::Kernel::Units::km = kilometer
constexpr

Definition at line 83 of file SystemOfUnits.h.

◆ km2

double Elements::Kernel::Units::km2 = kilometer2
constexpr

Definition at line 84 of file SystemOfUnits.h.

◆ km3

double Elements::Kernel::Units::km3 = kilometer3
constexpr

Definition at line 85 of file SystemOfUnits.h.

◆ lumen

double Elements::Kernel::Units::lumen = candela * steradian
constexpr

Definition at line 255 of file SystemOfUnits.h.

◆ lux

double Elements::Kernel::Units::lux = lumen / meter2
constexpr

Definition at line 262 of file SystemOfUnits.h.

◆ m

double Elements::Kernel::Units::m = meter
constexpr

Definition at line 79 of file SystemOfUnits.h.

◆ m2

double Elements::Kernel::Units::m2 = meter2
constexpr

Definition at line 80 of file SystemOfUnits.h.

◆ m3

double Elements::Kernel::Units::m3 = meter3
constexpr

Definition at line 81 of file SystemOfUnits.h.

◆ megaelectronvolt

double Elements::Kernel::Units::megaelectronvolt = 1.e+6 * electronvolt
constexpr

Definition at line 156 of file SystemOfUnits.h.

◆ megahertz

double Elements::Kernel::Units::megahertz = 1.e+6 * hertz
constexpr

Definition at line 117 of file SystemOfUnits.h.

◆ megavolt

double Elements::Kernel::Units::megavolt = 1.e+6 * volt
constexpr

Definition at line 192 of file SystemOfUnits.h.

◆ meter

double Elements::Kernel::Units::meter = 1.0
constexpr

Definition at line 38 of file SystemOfUnits.h.

◆ meter2

double Elements::Kernel::Units::meter2 = meter * meter
constexpr

Definition at line 39 of file SystemOfUnits.h.

◆ meter3

double Elements::Kernel::Units::meter3 = meter * meter * meter
constexpr

Definition at line 40 of file SystemOfUnits.h.

◆ MeV

double Elements::Kernel::Units::MeV = megaelectronvolt
constexpr

Definition at line 164 of file SystemOfUnits.h.

◆ mg

double Elements::Kernel::Units::mg = milligram
constexpr

Definition at line 149 of file SystemOfUnits.h.

◆ microampere

double Elements::Kernel::Units::microampere = 1.e-6 * ampere
constexpr

Definition at line 129 of file SystemOfUnits.h.

◆ microbarn

double Elements::Kernel::Units::microbarn = 1.e-6 * barn
constexpr

Definition at line 63 of file SystemOfUnits.h.

◆ microfarad

double Elements::Kernel::Units::microfarad = 1.e-6 * farad
constexpr

Definition at line 205 of file SystemOfUnits.h.

◆ microjansky

double Elements::Kernel::Units::microjansky = 1.e-6 * jansky
constexpr

Definition at line 257 of file SystemOfUnits.h.

◆ micrometer

double Elements::Kernel::Units::micrometer = 1.e-6 * meter
constexpr

Definition at line 56 of file SystemOfUnits.h.

◆ microsecond

double Elements::Kernel::Units::microsecond = 1.e-6 * second
constexpr

Definition at line 111 of file SystemOfUnits.h.

◆ milliampere

double Elements::Kernel::Units::milliampere = 1.e-3 * ampere
constexpr

Definition at line 128 of file SystemOfUnits.h.

◆ millibarn

double Elements::Kernel::Units::millibarn = 1.e-3 * barn
constexpr

Definition at line 62 of file SystemOfUnits.h.

◆ millifarad

double Elements::Kernel::Units::millifarad = 1.e-3 * farad
constexpr

Definition at line 204 of file SystemOfUnits.h.

◆ milligram

double Elements::Kernel::Units::milligram = 1.e-3 * gram
constexpr

Definition at line 144 of file SystemOfUnits.h.

◆ millimeter

double Elements::Kernel::Units::millimeter = 1.e-3 * meter
constexpr

Definition at line 42 of file SystemOfUnits.h.

◆ millimeter2

double Elements::Kernel::Units::millimeter2 = millimeter * millimeter
constexpr

Definition at line 43 of file SystemOfUnits.h.

◆ millimeter3

double Elements::Kernel::Units::millimeter3 = millimeter * millimeter * millimeter
constexpr

Definition at line 44 of file SystemOfUnits.h.

◆ milliradian

double Elements::Kernel::Units::milliradian = 1.e-3 * radian
constexpr

Definition at line 93 of file SystemOfUnits.h.

◆ millisecond

double Elements::Kernel::Units::millisecond = 1.e-3 * second
constexpr

Definition at line 110 of file SystemOfUnits.h.

◆ mm

double Elements::Kernel::Units::mm = millimeter
constexpr

Definition at line 71 of file SystemOfUnits.h.

◆ mm2

double Elements::Kernel::Units::mm2 = millimeter2
constexpr

Definition at line 72 of file SystemOfUnits.h.

◆ mm3

double Elements::Kernel::Units::mm3 = millimeter3
constexpr

Definition at line 73 of file SystemOfUnits.h.

◆ mole

double Elements::Kernel::Units::mole = 1.
constexpr

Definition at line 234 of file SystemOfUnits.h.

◆ mrad

double Elements::Kernel::Units::mrad = milliradian
constexpr

Definition at line 100 of file SystemOfUnits.h.

◆ ms

double Elements::Kernel::Units::ms = millisecond
constexpr

Definition at line 122 of file SystemOfUnits.h.

◆ mu0

double Elements::Kernel::Units::mu0 = 4 * pi * 1.e-7 * henry / m
constexpr

permeability of free space \(\mu_0\)

Definition at line 65 of file PhysConstants.h.

◆ nanoampere

double Elements::Kernel::Units::nanoampere = 1.e-9 * ampere
constexpr

Definition at line 130 of file SystemOfUnits.h.

◆ nanobarn

double Elements::Kernel::Units::nanobarn = 1.e-9 * barn
constexpr

Definition at line 64 of file SystemOfUnits.h.

◆ nanofarad

double Elements::Kernel::Units::nanofarad = 1.e-9 * farad
constexpr

Definition at line 206 of file SystemOfUnits.h.

◆ nanometer

double Elements::Kernel::Units::nanometer = 1.e-9 * meter
constexpr

Definition at line 57 of file SystemOfUnits.h.

◆ nanosecond

double Elements::Kernel::Units::nanosecond = 1.e-9 * second
constexpr

Definition at line 109 of file SystemOfUnits.h.

◆ newton

double Elements::Kernel::Units::newton = joule / meter
constexpr

Definition at line 179 of file SystemOfUnits.h.

◆ nm

double Elements::Kernel::Units::nm = nanometer
constexpr

Definition at line 68 of file SystemOfUnits.h.

◆ ns

double Elements::Kernel::Units::ns = nanosecond
constexpr

Definition at line 120 of file SystemOfUnits.h.

◆ ohm

double Elements::Kernel::Units::ohm = volt / ampere
constexpr

Definition at line 198 of file SystemOfUnits.h.

◆ Pa

double Elements::Kernel::Units::Pa = newton / m2
constexpr

Definition at line 184 of file SystemOfUnits.h.

◆ parsec

double Elements::Kernel::Units::parsec = 3.0856775807e+16 * meter
constexpr

Definition at line 54 of file SystemOfUnits.h.

◆ pc

double Elements::Kernel::Units::pc = parsec
constexpr

Definition at line 87 of file SystemOfUnits.h.

◆ perCent

double Elements::Kernel::Units::perCent = 0.01
constexpr

Definition at line 267 of file SystemOfUnits.h.

◆ perMillion

double Elements::Kernel::Units::perMillion = 0.000001
constexpr

Definition at line 269 of file SystemOfUnits.h.

◆ perThousand

double Elements::Kernel::Units::perThousand = 0.001
constexpr

Definition at line 268 of file SystemOfUnits.h.

◆ petaelectronvolt

double Elements::Kernel::Units::petaelectronvolt = 1.e+15 * electronvolt
constexpr

Definition at line 160 of file SystemOfUnits.h.

◆ PeV

double Elements::Kernel::Units::PeV = petaelectronvolt
constexpr

Definition at line 169 of file SystemOfUnits.h.

◆ pi

double Elements::Kernel::Units::pi = 3.14159265358979323846
constexpr

\(\pi\)

Definition at line 34 of file MathConstants.h.

◆ pi2

double Elements::Kernel::Units::pi2 = pi * pi
constexpr

\(\pi^2\)

Definition at line 40 of file MathConstants.h.

◆ picobarn

double Elements::Kernel::Units::picobarn = 1.e-12 * barn
constexpr

Definition at line 65 of file SystemOfUnits.h.

◆ picofarad

double Elements::Kernel::Units::picofarad = 1.e-12 * farad
constexpr

Definition at line 207 of file SystemOfUnits.h.

◆ picosecond

double Elements::Kernel::Units::picosecond = 1.e-12 * second
constexpr

Definition at line 112 of file SystemOfUnits.h.

◆ proton_mass

double Elements::Kernel::Units::proton_mass = 1.672621777e-27 * kg
constexpr

\( m_p \)

Definition at line 61 of file PhysConstants.h.

◆ rad

double Elements::Kernel::Units::rad = radian
constexpr

Definition at line 99 of file SystemOfUnits.h.

◆ radian

double Elements::Kernel::Units::radian = 1.
constexpr

Definition at line 92 of file SystemOfUnits.h.

◆ s

double Elements::Kernel::Units::s = second
constexpr

Definition at line 121 of file SystemOfUnits.h.

◆ second

double Elements::Kernel::Units::second = 1.
constexpr

Definition at line 107 of file SystemOfUnits.h.

◆ sqrt_of_halfpi

double Elements::Kernel::Units::sqrt_of_halfpi = 1.25331413731550025121
constexpr

\(\sqrt{\frac{\pi}{2}}\)

Definition at line 46 of file MathConstants.h.

◆ sqrt_of_pi

double Elements::Kernel::Units::sqrt_of_pi = 1.77245385090551602730
constexpr

\(\sqrt{\pi}\)

Definition at line 42 of file MathConstants.h.

◆ sqrt_of_two

double Elements::Kernel::Units::sqrt_of_two = 1.41421356237309504880
constexpr

\(\sqrt{2}\)

Definition at line 44 of file MathConstants.h.

◆ sr

double Elements::Kernel::Units::sr = steradian
constexpr

Definition at line 101 of file SystemOfUnits.h.

◆ steradian

double Elements::Kernel::Units::steradian = 1.
constexpr

Definition at line 96 of file SystemOfUnits.h.

◆ StorageFactor

map< StorageType, int64_t > Elements::Kernel::Units::StorageFactor

◆ StorageShortName

map< StorageType, std::string > Elements::Kernel::Units::StorageShortName

◆ STP_Pressure

double Elements::Kernel::Units::STP_Pressure = 1. * atmosphere
constexpr

Definition at line 77 of file PhysConstants.h.

◆ STP_Temperature

double Elements::Kernel::Units::STP_Temperature = 273.15 * kelvin
constexpr

Standard Temperature and Pressure.

Definition at line 76 of file PhysConstants.h.

◆ teraelectronvolt

double Elements::Kernel::Units::teraelectronvolt = 1.e+12 * electronvolt
constexpr

Definition at line 159 of file SystemOfUnits.h.

◆ tesla

double Elements::Kernel::Units::tesla = volt * second / meter2
constexpr

Definition at line 216 of file SystemOfUnits.h.

◆ TeV

double Elements::Kernel::Units::TeV = teraelectronvolt
constexpr

Definition at line 168 of file SystemOfUnits.h.

◆ twopi

double Elements::Kernel::Units::twopi = 2.0 * pi
constexpr

\(2\pi\)

Definition at line 36 of file MathConstants.h.

◆ um

double Elements::Kernel::Units::um = micrometer
constexpr

Definition at line 69 of file SystemOfUnits.h.

◆ universe_mean_density

double Elements::Kernel::Units::universe_mean_density = 1.e-25 * g / cm3
constexpr

Definition at line 80 of file PhysConstants.h.

◆ volt

double Elements::Kernel::Units::volt = electronvolt / eplus
constexpr

Definition at line 191 of file SystemOfUnits.h.

◆ watt

double Elements::Kernel::Units::watt = joule / second
constexpr

Definition at line 174 of file SystemOfUnits.h.

◆ weber

double Elements::Kernel::Units::weber = volt * second
constexpr

Definition at line 212 of file SystemOfUnits.h.