Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:01:46

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2003-2008 Matthias Christian Schabel
0005 // Copyright (C) 2008 Steven Watanabe
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See
0008 // accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_UNITS_CGS_BASE_HPP
0012 #define BOOST_UNITS_CGS_BASE_HPP
0013 
0014 #include <string>
0015 
0016 #include <boost/units/static_constant.hpp>
0017 #include <boost/units/unit.hpp>
0018 #include <boost/units/make_system.hpp>
0019 
0020 #include <boost/units/base_units/cgs/centimeter.hpp>
0021 #include <boost/units/base_units/cgs/gram.hpp>
0022 #include <boost/units/base_units/si/second.hpp>
0023 #include <boost/units/base_units/cgs/biot.hpp>
0024 
0025 namespace boost {
0026 
0027 namespace units { 
0028 
0029 namespace cgs {
0030 
0031 /// placeholder class defining cgs unit system
0032 typedef make_system<centimeter_base_unit, 
0033                     gram_base_unit, 
0034                     boost::units::si::second_base_unit,
0035                     biot_base_unit>::type system;
0036 
0037 /// various unit typedefs for convenience
0038 typedef unit<dimensionless_type,system>         dimensionless;
0039 
0040 } // namespace cgs
0041                                                     
0042 } // namespace units
0043 
0044 } // namespace boost
0045 
0046 #endif // BOOST_UNITS_CGS_BASE_HPP