77 store.push_back(UnitBase<T>(
"m",
"meter", 1.0L,0.,1));
78 store.push_back(UnitBase<T>(
"kg",
"kilogram",1.0L,0.,0,1));
79 store.push_back(UnitBase<T>(
"s",
"second", 1.0L,0.,0,0,1));
80 store.push_back(UnitBase<T>(
"A",
"ampere", 1.0L,0.,0,0,0,1));
81 store.push_back(UnitBase<T>(
"K",
"kelvin", 1.0L,0.,0,0,0,0,1));
82 store.push_back(UnitBase<T>(
"mol",
"mole", 1.0L,0.,0,0,0,0,0,1));
83 store.push_back(UnitBase<T>(
"cd",
"candela", 1.0L,0.,0,0,0,0,0,0,1));
84 store.push_back(UnitBase<T>(
"rad",
"radian", 1.0L,0.,0,0,0,0,0,0,0,1));
91 store.push_back(UnitBase<T>(
"in",
"inch", 0.0254L, 0.,1));
92 store.push_back(UnitBase<T>(
"ft",
"foot", 0.3048L, 0.,1));
93 store.push_back(UnitBase<T>(
"ua",
"astronomical unit",1.49597870700e11L,0.,1));
94 store.push_back(UnitBase<T>(
"ang",
"angstrom", 1e-10L, 0.,1));
96 store.push_back(UnitBase<T>(
"Da",
"dalton", 1.660538921e-27L,0.,0,1));
97 store.push_back(UnitBase<T>(
"u",
"unified atomic mass",1.660538921e-27L,0.,0,1));
99 store.push_back(UnitBase<T>(
"min",
"minute",60.0L, 0.,0,0,1));
100 store.push_back(UnitBase<T>(
"hour",
"hour", 3600.0L,0.,0,0,1));
103 store.push_back(UnitBase<T>(
"degC",
"degree Celsius", 1.L, 273.15L, 0,0,0,0,1));
104 store.push_back(UnitBase<T>(
"degF",
"degree Farenheit",5.L/9.L,459.57L*5.0L/9.0L,0,0,0,0,1));
106 store.push_back(UnitBase<T>(
"deg",
"degree", Constants::pi<T>()/180.0L, 0.,0,0,0,0,0,0,0,1));
107 store.push_back(UnitBase<T>(
"\'",
"Arcminute", Constants::pi<T>()/(180.0L*60.0L), 0.,0,0,0,0,0,0,0,1));
108 store.push_back(UnitBase<T>(
"\'\'",
"Arcsecond", Constants::pi<T>()/(180.0L*60.0L*60.0L),0.,0,0,0,0,0,0,0,1));
110 store.push_back(UnitBase<T>(
"l",
"litre",1e-3L,0.,3));
111 store.push_back(UnitBase<T>(
"L",
"litre",1e-3L,0.,3));
113 store.push_back(UnitBase<T>(
"N",
"newton",1.0L, 0.,1,1,-2));
114 store.push_back(UnitBase<T>(
"dyn",
"dyne", 1e-5L,0.,1,1,-2));
116 store.push_back(UnitBase<T>(
"Pa",
"pascal", 1.0L, 0.,-1,1,-2));
117 store.push_back(UnitBase<T>(
"bar",
"bar", 1e5L, 0.,-1,1,-2));
118 store.push_back(UnitBase<T>(
"at",
"technical atmosphere", 9.80665e4L, 0.,-1,1,-2));
119 store.push_back(UnitBase<T>(
"atm",
"atmosphere", 1.01325e5L, 0.,-1,1,-2));
120 store.push_back(UnitBase<T>(
"Torr",
"Torr", 101325.0L/760.0L,0.,-1,1,-2));
121 store.push_back(UnitBase<T>(
"psi",
"pound per square inch",6.895e3L, 0.,-1,1,-2));
122 store.push_back(UnitBase<T>(
"mmHg",
"millimeter of mercury",133.322387415L, 0.,-1,1,-2));
124 store.push_back(UnitBase<T>(
"P",
"poise",0.1L,0.,-1,1,-1));
126 store.push_back(UnitBase<T>(
"W",
"watt" ,1.0L,0.,2 ,1,-3));
128 store.push_back(UnitBase<T>(
"J",
"joule", 1.0L, 0.,2,1,-2));
129 store.push_back(UnitBase<T>(
"cal",
"calorie", 4.1868L, 0.,2,1,-2));
130 store.push_back(UnitBase<T>(
"calth",
"calorie thermodynamic", 4.184L,0.,2,1,-2));
131 store.push_back(UnitBase<T>(
"eV",
"electronVolt",1.602176565e-19L,0.,2,1,-2));
132 store.push_back(UnitBase<T>(
"erg",
"erg", 1.e-7L, 0.,2,1,-2));
133 store.push_back(UnitBase<T>(
"Ha",
"hartree", 4.35974434e-18L, 0.,2,1,-2));
135 store.push_back(UnitBase<T>(
"C",
"coulomb",1.0L,0.,0,0,1,1));
137 store.push_back(UnitBase<T>(
"Hz",
"herzt", 1.0L, 0.,0,0,-1));
138 store.push_back(UnitBase<T>(
"Ci",
"curie", 3.7e10L,0.,0,0,-1));
139 store.push_back(UnitBase<T>(
"Bq",
"becquerel",1.0L, 0.,0,0,-1));
141 store.push_back(UnitBase<T>(
"D",
"debye",3.335641e-30L,0.,1,0,1,1));
143 store.push_back(UnitBase<T>(
"molecule",
"molecule",1.0L,0.,0,0,0,0,0,0));
144 store.push_back(UnitBase<T>(
"photon",
"photon", 1.0L,0.,0,0,0,0,0,0));
148 for(
int i = 0; i < (
int)
store.size(); i++)
std::vector< UnitBase< T > > store
unsigned int _n_known_units
std::map< std::string, unsigned int > map_store