00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef _AmountOfSubstance_h
00028 #define _AmountOfSubstance_h
00029
00030 #include "Quantity/Variable.h"
00031 #include "Quantity/Constant.h"
00032 #include "Quantity/QuantityCluster.h"
00033
00034 namespace quantity {
00035 namespace amountOfSubstance {
00036
00037
00038 typedef BSUtilities::Rational<0> LE;
00039 typedef BSUtilities::Rational<0> M;
00040 typedef BSUtilities::Rational<0> TI;
00041 typedef BSUtilities::Rational<0> E;
00042 typedef BSUtilities::Rational<0> TE;
00043 typedef BSUtilities::Rational<1> A;
00044 typedef BSUtilities::Rational<0> LU;
00045
00046 typedef dimension::Dimension<LE, M, TI, E, TE, A, LU> Dimension;
00047
00049 class Unit;
00050
00051
00052 class MoleUnits;
00053
00054
00055
00056 typedef unit::Prefixable<Unit, MoleUnits> Moles;
00057
00058 typedef unit::Prefixed<Moles> Mole;
00059 typedef unit::Prefixed<Moles, unit::Milli> MilliMole;
00060
00061 typedef Moles::Units Units;
00062
00063
00064
00065 typedef Mole mol;
00066 typedef MilliMole mmol;
00067
00068
00069
00070 typedef Quantity<Dimension, Unit, Units, Mole> Quantity;
00071
00072 }
00073
00074 typedef Variable<amountOfSubstance::Quantity> AmountOfSubstance;
00075 typedef Constant<amountOfSubstance::Quantity>
00076 AmountOfSubstanceConstant;
00077
00078 typedef VariableVector<amountOfSubstance::Quantity>
00079 AmountOfSubstanceVector;
00080
00081 }
00082
00083 #endif