Loading...
Searching...
No Matches
SBDQuantityConstant Class Reference

Static Public Attributes

static const SBQuantity::dimensionless *const Pi
 Pi is 3.1415926535897932.
 
static const double DegToRad
 DegToRad is SBDQuantityConstant::Pi / 180.0.
 
static const double RadToDeg
 RadToDeg is 180.0 / SBDQuantityConstant::Pi.
 

Common constants

static const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const avogadroConstant
 The Avogadro constant.
 
static const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const NA
 The Avogadro constant.
 
static const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const boltzmannConstant
 The Boltzmann constant.
 
static const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const kB
 The Boltzmann constant.
 
static const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 3, 0, 1, 0, -4, 0, -2, 0, 0, 0, 0, 0, 0 > > *const coulombConstant
 The Coulomb constant.
 
static const SBQuantity::picometer *const bohrRadius
 The Bohr radius, a0.
 
static const SBQuantity::yoctogram *const electronMass
 The electron mass.
 
static const SBQuantity::yoctogram *const neutronMass
 The neutron mass.
 
static const SBQuantity::yoctogram *const protonMass
 The proton mass.
 
static const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0 > > *const speedOfLight
 The speed of light in vacuum.
 
static const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0 > > *const c
 The speed of light in vacuum.
 
static SBQuantity::degree getDegreesFromRadians (const SBQuantity::radian &angle)
 Converts radians in degrees in the interval [-180, 180].
 

Detailed Description

This class holds several useful physical constants

Values for physical constants correspond to 2018 CODATA internationally recommended values of the Fundamental Physical Constants.

See:

This class holds several useful physical constants, which are accessed through static const pointers. For example:

static const SBQuantity::yoctogram *const protonMass
The proton mass.
Definition: SBDQuantityConstant.hpp:41
This template class defines physical quantity types.
Definition: SBDQuantityType.hpp:43

Short name: SBConstant

See also
SAMSON's unit system
The SBDQuantity library