This class holds several useful physical constants. More...
Static Public Attributes | |
static const SBQuantity::dimensionless *const | Pi |
Pi is 3.1415926535897932. | |
static const double | DegToRad |
DegToRad is SBDTypeConstant::Pi/180.0. | |
static const double | RadToDeg |
RadToDeg is 180.0 / SBDTypeConstant::Pi. | |
Common constants | |
static const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const | avogadroConstant |
The Avogadro constant is 6.02214129 x 10^23 mol^-1. | |
static const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 > > *const | NA |
The Avogadro constant is 6.02214129 x 10^23 mol^-1. | |
static const SBQuantityType< SBUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const | boltzmannConstant |
The Boltzmann constant is 0.013806488 pm^2.yg.fs^-2.K^-1. | |
static const SBQuantityType< SBUnitType< SBUnitSystemSI, -12, 2, -27, 1, -15, -2, 0, 0, 0, -1, 0, 0, 0, 0 > > *const | kB |
The Boltzmann constant is 0.013806488 pm^2.yg.fs^-2.K^-1. | |
static const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 3, 0, 1, 0, -4, 0, -2, 0, 0, 0, 0, 0, 0 > > *const | coulombConstant |
The Coulomb constant is 8.9875517873681764 x 10^9 N.m^2.C^-2. | |
static const SBQuantity::yoctogram *const | protonMass |
The proton mass is 1.672622 yg. | |
static const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0 > > *const | speedOfLight |
The speed of light is 299792458 m/s. | |
static const SBQuantityType< SBUnitType< SBUnitSystemSI, 0, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0 > > *const | c |
The speed of light is 299792458 m/s. | |
This class holds several useful physical constants, which are accessed through static const pointers. For example:
Short name: SBConstant