54 #ifndef TGEO_SYSTEM_OF_UNITS_H 55 #define TGEO_SYSTEM_OF_UNITS_H 67 static constexpr
double pi = 3.14159265358979323846;
69 static constexpr
double halfpi = pi / 2;
70 static constexpr
double pi2 = pi *
pi;
136 static constexpr
double radian = (180.0 /
pi) * degree;
171 static constexpr
double e_SI = 1.602176487e-19;
197 static constexpr
double kilogram = joule * second * second / (meter *
meter);
219 #define pascal hep_pascal // a trick to avoid warnings 279 static constexpr
double mole = 1.;
static constexpr double microampere
static constexpr double millimeter3
static constexpr double pi
static constexpr double mrad
static constexpr double meter3
static constexpr double megavolt
static constexpr double tesla
static constexpr double hertz
static constexpr double parsec
static constexpr double us
static constexpr double m
static constexpr double km
static constexpr double lumen
static constexpr double kilogauss
static constexpr double gram
static constexpr double TeV
static constexpr double ampere
static constexpr double millibarn
static constexpr double microfarad
static constexpr double bar
static constexpr double volt
static constexpr double cm
static constexpr double km2
static constexpr double ps
static constexpr double kilogray
static constexpr double keV
static constexpr double cL
static constexpr double millimeter
static constexpr double newton
static constexpr double mm
static constexpr double mm2
static constexpr double mL
static constexpr double rad
static constexpr double kilohertz
static constexpr double centimeter3
static constexpr double mg
static constexpr double PeV
static constexpr double millisecond
static constexpr double candela
static constexpr double mole
static constexpr double mCi
static constexpr double kg
static constexpr double weber
static constexpr double nanofarad
static constexpr double teraelectronvolt
static constexpr double microbarn
static constexpr double perThousand
static constexpr double farad
static constexpr double megahertz
static constexpr double ohm
static constexpr double m3
static constexpr double liter
static constexpr double eplus
static constexpr double microsecond
static constexpr double atmosphere
static constexpr double L
static constexpr double electronvolt
static constexpr double kBq
static constexpr double meter2
static constexpr double second
static constexpr double MeV
static constexpr double hep_pascal
static constexpr double milliampere
static constexpr double lux
static constexpr double kilovolt
static constexpr double Ci
static constexpr double Bq
static constexpr double nanobarn
static constexpr double gigaelectronvolt
static constexpr double nanosecond
static constexpr double deg
static constexpr double halfpi
static constexpr double angstrom
static constexpr double milligram
static constexpr double kilogram
static constexpr double mm3
static constexpr double GeV
static constexpr double perCent
static constexpr double steradian
static constexpr double m2
static constexpr double milligray
static constexpr double GBq
static constexpr double nm
static constexpr double ms
static constexpr double joule
static constexpr double kilometer
static constexpr double millimeter2
static constexpr double henry
static constexpr double coulomb
static constexpr double twopi
static constexpr double centimeter
static constexpr double gauss
static constexpr double pi2
static constexpr double degree
static constexpr double perMillion
static constexpr double microgray
static constexpr double kilobecquerel
static constexpr double nanoampere
static constexpr double gigabecquerel
static constexpr double curie
static constexpr double meter
static constexpr double gray
static constexpr double watt
static constexpr double megabecquerel
static constexpr double s
static constexpr double millifarad
static constexpr double kiloelectronvolt
static constexpr double km3
static constexpr double cm3
static constexpr double microcurie
static constexpr double um
static constexpr double MBq
static constexpr double eV
static constexpr double fermi
static constexpr double centimeter2
static constexpr double micrometer
static constexpr double cm2
static constexpr double dL
static constexpr double becquerel
static constexpr double barn
static constexpr double pc
static constexpr double petaelectronvolt
static constexpr double kelvin
static constexpr double picobarn
static constexpr double megaelectronvolt
static constexpr double sr
static constexpr double millicurie
static constexpr double e_SI
static constexpr double picosecond
static constexpr double ns
static constexpr double milliradian
static constexpr double radian
static constexpr double kilometer2
static constexpr double uCi
static constexpr double picofarad
static constexpr double kilometer3
static constexpr double nanometer
static constexpr double g