TBTK
Need a break? Support the development by playing Polarity Puzzles
Base.h File Reference

Base Quantity. More...

Go to the source code of this file.

Classes

class  TBTK::Quantity::Base< Units, Exponents >
 Base Quantity. More...
 

Enumerations

enum  AngleUnit { rad, degree }
 
enum  AngleExponent {
  Angle = 1, Charge = 0, Count = 0, Energy = 0,
  Length = 0, Temperature = 0, Time = 0
}
 
enum  ChargeUnit {
  kC, C, mC, uC,
  nC, pC, fC, aC,
  Te, Ge, Me, ke,
  e
}
 
enum  ChargeExponent {
  Angle = 0, Charge = 1, Count = 0, Energy = 0,
  Length = 0, Temperature = 0, Time = 0
}
 
enum  CountUnit { pcs, mol }
 
enum  CountExponent {
  Angle = 0, Charge = 0, Count = 1, Energy = 0,
  Length = 0, Temperature = 0, Time = 0
}
 
enum  EnergyUnit {
  GeV, MeV, keV, eV,
  meV, ueV, J
}
 
enum  EnergyExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 1,
  Length = 0, Temperature = 0, Time = 0
}
 
enum  LengthUnit {
  m, mm, um, nm,
  pm, fm, am, Ao
}
 
enum  LengthExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 0,
  Length = 1, Temperature = 0, Time = 0
}
 
enum  TemperatureUnit {
  kK, K, mK, uK,
  nK
}
 
enum  TemperatureExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 0,
  Length = 0, Temperature = 1, Time = 0
}
 
enum  TimeUnit {
  s, ms, us, ns,
  ps, fs, as
}
 
enum  TimeExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 0,
  Length = 0, Temperature = 0, Time = 1
}
 

Functions

void TBTK::Quantity::initializeBaseQuantities ()
 

Detailed Description

Base Quantity.

Author
Kristofer Björnson

Function Documentation

◆ initializeBaseQuantities()

void TBTK::Quantity::initializeBaseQuantities ( )

Initialize the Base Quantities.