Web Analytics Made Easy - Statcounter
Skip to content

Class SBDQuantityConstant#

ClassList > SBDQuantityConstant

More...

  • #include <SBDQuantityConstant.hpp>

Public Static Attributes#

Type Name
const double DegToRad
DegToRad is SBDQuantityConstant::Pi / 180.0.
const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const NA
The Avogadro constant.
const SBQuantity::dimensionless *const Pi
Pi is 3.1415926535897932.
const double RadToDeg
RadToDeg is 180.0 / SBDQuantityConstant::Pi .
const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const avogadroConstant
The Avogadro constant.
const SBQuantity::picometer *const bohrRadius
The Bohr radius, a0.
const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const boltzmannConstant
The Boltzmann constant.
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.
const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, 0, 3, 0, 1, 0, -4, 0, -2, 0, 0, 0, 0, 0, 0 > > *const coulombConstant
The Coulomb constant.
const SBQuantity::yoctogram *const electronMass
The electron mass.
const SBDQuantityType< SBDQuantityUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const kB
The Boltzmann constant.
const SBQuantity::yoctogram *const neutronMass
The neutron mass.
const SBQuantity::yoctogram *const protonMass
The proton mass.
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.

Public Static Functions#

Type Name
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:

Short name: SBConstant

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

SBQuantity::mass m = *SBConstant::protonMass;

Short name: SBConstant

See also: SAMSON's unit system

Public Static Attributes Documentation#

variable DegToRad#

DegToRad is SBDQuantityConstant::Pi / 180.0.

const double DegToRad;


variable NA#

The Avogadro constant.

const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const NA;


variable Pi#

Pi is 3.1415926535897932.

const SBQuantity::dimensionless *const Pi;


variable RadToDeg#

RadToDeg is 180.0 / SBDQuantityConstant::Pi .

const double RadToDeg;


variable avogadroConstant#

The Avogadro constant.

const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const avogadroConstant;


variable bohrRadius#

The Bohr radius, a0.

const SBQuantity::picometer *const bohrRadius;


variable boltzmannConstant#

The Boltzmann constant.

const SBQuantityType< SBUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const boltzmannConstant;


variable c#

The speed of light in vacuum.

const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0 > > *const c;


variable coulombConstant#

The Coulomb constant.

const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 3, 0, 1, 0, -4, 0, -2, 0, 0, 0, 0, 0, 0 > > *const coulombConstant;


variable electronMass#

The electron mass.

const SBQuantity::yoctogram *const electronMass;


variable kB#

The Boltzmann constant.

const SBQuantityType< SBUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const kB;


variable neutronMass#

The neutron mass.

const SBQuantity::yoctogram *const neutronMass;


variable protonMass#

The proton mass.

const SBQuantity::yoctogram *const protonMass;


variable speedOfLight#

The speed of light in vacuum.

const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0 > > *const speedOfLight;


Public Static Functions Documentation#

function getDegreesFromRadians#

Converts radians in degrees in the interval [-180, 180].

static SBQuantity::degree SBDQuantityConstant::getDegreesFromRadians (
    const SBQuantity::radian & angle
)