Main Page | Class Hierarchy | Class List | File List

LangmuirAdsorptionRateConstant.h

Go to the documentation of this file.
00001 
00005 /* Copyright (C) 2004 - 2006, Bernd Speiser, Kai Ludwig */
00006 
00007 /* This file is part of Quantities.
00008 
00009 PhysicalQuantities is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU General Public License
00011 as published by the Free Software Foundation; either version 2
00012 of the License, or (at your option) any later version.
00013 
00014 PhysicalQuantities is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 GNU General Public License for more details.
00018   
00019 You should have received a copy of the GNU General Public License
00020 along with this program; if not, write to the Free Software
00021 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00022 02111-1307, USA.
00023 */
00024 
00025 #ifndef _LangmuirAdsorptionRateConstant_h
00026 #define _LangmuirAdsorptionRateConstant_h
00027 
00028 #include "Quantity/Variable.h"
00029 #include "Quantity/Constant.h"
00030 #include "Quantity/QuantityCluster.h"
00031 
00032 #include "PhysicalQuantities/Volume.h"
00033 #include "PhysicalQuantities/AmountOfSubstance.h"
00034 #include "PhysicalQuantities/Time.h"
00035 
00036 namespace quantity {
00037   namespace langmuirAdsorptionRateConstant {
00038 
00039 /* LangmuirAdsorptionRateConstant dimension */
00040 typedef BSUtilities::Rational<3> LE;
00041 typedef BSUtilities::Rational<0> M; 
00042 typedef BSUtilities::Rational<-1> TI;
00043 typedef BSUtilities::Rational<0> E;
00044 typedef BSUtilities::Rational<0> TE;
00045 typedef BSUtilities::Rational<-1> A;
00046 typedef BSUtilities::Rational<0> LU;
00047 
00048 typedef dimension::Dimension<LE, M, TI, E, TE, A, LU> Dimension;
00049 
00051 class Unit;
00052 
00053 /* declaration of LangmuirAdsorptionRateConstant units */
00054 /* class CubicCentiMetrePerMoleSecondUnits; */
00055 
00056 /* the MetrePerSecond and prefixed variants */
00057 
00058 typedef LOKI_TYPELIST_1(volume::CubicCentiMetre) VolumeList;
00059 
00060 typedef unit::ComposeElement<Unit, 
00061                    VolumeList, BSUtilities::Rational<1> > VolumeElement;
00062 
00063 typedef LOKI_TYPELIST_1(amountOfSubstance::Mole) AmountOfSubstanceList;
00064  
00065 typedef unit::ComposeElement<Unit, 
00066   AmountOfSubstanceList, BSUtilities::Rational<-1> > 
00067                                                AmountOfSubstanceElement;
00068 
00069 typedef LOKI_TYPELIST_1(time::Second) TimeList;
00070 
00071 typedef unit::ComposeElement<Unit, 
00072                       TimeList, BSUtilities::Rational<-1> > TimeElement;
00073 
00074 
00075 typedef 
00076   LOKI_TYPELIST_3(VolumeElement, AmountOfSubstanceElement, TimeElement)
00077                           LangmuirAdsorptionRateConstantComposeBaseList;
00078 
00079 typedef unit::ComposeBase<Unit, 
00080                  LangmuirAdsorptionRateConstantComposeBaseList> 
00081                              LangmuirAdsorptionRateConstantComposedUnit;
00082 
00083 typedef unit::Composed<LangmuirAdsorptionRateConstantComposedUnit, 
00084   LOKI_TYPELIST_3(volume::CubicCentiMetre, amountOfSubstance::Mole,
00085                             time::Second)> CubicCentiMetrePerMoleSecond;
00086 
00088 typedef LOKI_TYPELIST_1(CubicCentiMetrePerMoleSecond) Units;
00089 
00090 /* LangmuirAdsorptionRateConstant quantity */
00091 
00092 typedef Quantity<Dimension, Unit, Units, CubicCentiMetrePerMoleSecond> 
00093                                                                Quantity;
00094 
00095   }
00096 
00097 typedef Variable<langmuirAdsorptionRateConstant::Quantity> 
00098                                          LangmuirAdsorptionRateConstant;
00099 typedef Constant<langmuirAdsorptionRateConstant::Quantity> 
00100                                  LangmuirAdsorptionRateConstantConstant;
00101 
00102 typedef 
00103   QuantityVector<Variable, langmuirAdsorptionRateConstant::Quantity> 
00104                                    LangmuirAdsorptionRateConstantVector;
00105 
00106 }
00107 
00108 #endif /* _LangmuirAdsorptionRateConstant_h */

Generated on Mon Feb 12 18:48:49 2007 for PhysicalQuantities by doxygen 1.3.6