00001 00002 /*============================================================================= 00003 physical quantities / units / constants 00004 Copyright (c) 2006, 2007 Martin Schulz 00005 http://physical.sourceforge.net 00006 00007 This is private code by Martin Schulz. 00008 00009 Use, modification and distribution is subject to the Boost Software 00010 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 00011 http://www.boost.org/LICENSE_1_0.txt) 00012 =============================================================================*/ 00013 00014 #ifndef PHYSICAL_CONFIG 00015 #define PHYSICAL_CONFIG 00016 00017 00018 // tag to distinguish the unit system 00019 struct SI { 00020 static const int number_baseunits=7; 00021 enum baseunit {meter, kilogram, second, ampere, kelvin, mol, candela}; 00022 }; 00023 00024 00025 00026 #endif
Generated on Mon Apr 2 22:25:03 2007 for physical_svn by 1.5.1-p1 | hosted on |