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

Derived Quantity. More...

#include "TBTK/Quantity/Base.h"
#include "TBTK/Quantity/Quantity.h"
#include "TBTK/TBTKMacros.h"
#include <iostream>
#include <map>
#include <string>

Go to the source code of this file.

Classes

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

Enumerations

enum  MassUnit {
  kg, g, mg, ug,
  ng, pg, fg, ag,
  u
}
 
enum  MassExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 1,
  Length = -2, Temperature = 0, Time = 2
}
 
enum  MagneticFieldUnit {
  MT, kT, T, mT,
  uT, nT, GG, MG,
  kG, G, mG, uG
}
 
enum  MagneticFieldExponent {
  Angle = 0, Charge = -1, Count = 0, Energy = 1,
  Length = -2, Temperature = 0, Time = 1
}
 
enum  VoltageUnit {
  GV, MV, kV, V,
  mV, uV, nV
}
 
enum  VoltageExponent {
  Angle = 0, Charge = -1, Count = 0, Energy = 1,
  Length = 0, Temperature = 0, Time = 0
}
 
enum  VelocityUnit
 
enum  VelocityExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 0,
  Length = 1, Temperature = 0, Time = -1
}
 
enum  PlanckUnit
 
enum  PlanckExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 1,
  Length = 0, Temperature = 0, Time = 1
}
 
enum  BoltzmannUnit
 
enum  BoltzmannExponent {
  Angle = 0, Charge = 0, Count = 0, Energy = 1,
  Length = 0, Temperature = -1, Time = 0
}
 
enum  PermeabilityUnit
 
enum  PermeabilityExponent {
  Angle = 0, Charge = -2, Count = 0, Energy = 1,
  Length = -1, Temperature = 0, Time = 2
}
 
enum  PermittivityUnit
 
enum  PermittivityExponent {
  Angle = 0, Charge = 2, Count = 0, Energy = -1,
  Length = -1, Temperature = 0, Time = 0
}
 
enum  MagnetonUnit
 
enum  MagnetonExponent {
  Angle = 0, Charge = 1, Count = 0, Energy = 0,
  Length = 2, Temperature = 0, Time = -1
}
 

Functions

void TBTK::Quantity::initializeDerivedQuantities ()
 

Detailed Description

Derived Quantity.

Author
Kristofer Björnson

Function Documentation

◆ initializeDerivedQuantities()

void TBTK::Quantity::initializeDerivedQuantities ( )

Initialize the Derived Quantitites.