summaryrefslogtreecommitdiff
path: root/boost/units/systems/cgs
diff options
context:
space:
mode:
Diffstat (limited to 'boost/units/systems/cgs')
-rw-r--r--boost/units/systems/cgs/acceleration.hpp34
-rw-r--r--boost/units/systems/cgs/area.hpp36
-rw-r--r--boost/units/systems/cgs/base.hpp46
-rw-r--r--boost/units/systems/cgs/current.hpp33
-rw-r--r--boost/units/systems/cgs/dimensionless.hpp30
-rw-r--r--boost/units/systems/cgs/dynamic_viscosity.hpp33
-rw-r--r--boost/units/systems/cgs/energy.hpp34
-rw-r--r--boost/units/systems/cgs/force.hpp34
-rw-r--r--boost/units/systems/cgs/frequency.hpp31
-rw-r--r--boost/units/systems/cgs/io.hpp50
-rw-r--r--boost/units/systems/cgs/kinematic_viscosity.hpp34
-rw-r--r--boost/units/systems/cgs/length.hpp35
-rw-r--r--boost/units/systems/cgs/mass.hpp36
-rw-r--r--boost/units/systems/cgs/mass_density.hpp31
-rw-r--r--boost/units/systems/cgs/momentum.hpp31
-rw-r--r--boost/units/systems/cgs/power.hpp31
-rw-r--r--boost/units/systems/cgs/pressure.hpp34
-rw-r--r--boost/units/systems/cgs/time.hpp33
-rw-r--r--boost/units/systems/cgs/velocity.hpp36
-rw-r--r--boost/units/systems/cgs/volume.hpp36
-rw-r--r--boost/units/systems/cgs/wavenumber.hpp38
21 files changed, 736 insertions, 0 deletions
diff --git a/boost/units/systems/cgs/acceleration.hpp b/boost/units/systems/cgs/acceleration.hpp
new file mode 100644
index 0000000..f84c715
--- /dev/null
+++ b/boost/units/systems/cgs/acceleration.hpp
@@ -0,0 +1,34 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_ACCELERATION_HPP
+#define BOOST_UNITS_CGS_ACCELERATION_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/acceleration.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<acceleration_dimension,cgs::system> acceleration;
+
+BOOST_UNITS_STATIC_CONSTANT(gal,acceleration);
+BOOST_UNITS_STATIC_CONSTANT(gals,acceleration);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_ACCELERATION_HPP
diff --git a/boost/units/systems/cgs/area.hpp b/boost/units/systems/cgs/area.hpp
new file mode 100644
index 0000000..1069251
--- /dev/null
+++ b/boost/units/systems/cgs/area.hpp
@@ -0,0 +1,36 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_AREA_HPP
+#define BOOST_UNITS_CGS_AREA_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/area.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<area_dimension,cgs::system> area;
+
+BOOST_UNITS_STATIC_CONSTANT(square_centimeter,area);
+BOOST_UNITS_STATIC_CONSTANT(square_centimeters,area);
+BOOST_UNITS_STATIC_CONSTANT(square_centimetre,area);
+BOOST_UNITS_STATIC_CONSTANT(square_centimetres,area);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_AREA_HPP
diff --git a/boost/units/systems/cgs/base.hpp b/boost/units/systems/cgs/base.hpp
new file mode 100644
index 0000000..bc53606
--- /dev/null
+++ b/boost/units/systems/cgs/base.hpp
@@ -0,0 +1,46 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_BASE_HPP
+#define BOOST_UNITS_CGS_BASE_HPP
+
+#include <string>
+
+#include <boost/units/static_constant.hpp>
+#include <boost/units/unit.hpp>
+#include <boost/units/make_system.hpp>
+
+#include <boost/units/base_units/cgs/centimeter.hpp>
+#include <boost/units/base_units/cgs/gram.hpp>
+#include <boost/units/base_units/si/second.hpp>
+#include <boost/units/base_units/cgs/biot.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+/// placeholder class defining cgs unit system
+typedef make_system<centimeter_base_unit,
+ gram_base_unit,
+ boost::units::si::second_base_unit,
+ biot_base_unit>::type system;
+
+/// various unit typedefs for convenience
+typedef unit<dimensionless_type,system> dimensionless;
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_BASE_HPP
diff --git a/boost/units/systems/cgs/current.hpp b/boost/units/systems/cgs/current.hpp
new file mode 100644
index 0000000..f80821e
--- /dev/null
+++ b/boost/units/systems/cgs/current.hpp
@@ -0,0 +1,33 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_CURRENT_HPP
+#define BOOST_UNITS_CGS_CURRENT_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<current_dimension,cgs::system> current;
+
+BOOST_UNITS_STATIC_CONSTANT(biot,current);
+BOOST_UNITS_STATIC_CONSTANT(biots,current);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_CURRENT_HPP
diff --git a/boost/units/systems/cgs/dimensionless.hpp b/boost/units/systems/cgs/dimensionless.hpp
new file mode 100644
index 0000000..7f2b3c2
--- /dev/null
+++ b/boost/units/systems/cgs/dimensionless.hpp
@@ -0,0 +1,30 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_DIMENSIONLESS_HPP
+#define BOOST_UNITS_CGS_DIMENSIONLESS_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+BOOST_UNITS_STATIC_CONSTANT(cgs_dimensionless,dimensionless);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_DIMENSIONLESS_HPP
diff --git a/boost/units/systems/cgs/dynamic_viscosity.hpp b/boost/units/systems/cgs/dynamic_viscosity.hpp
new file mode 100644
index 0000000..af1a170
--- /dev/null
+++ b/boost/units/systems/cgs/dynamic_viscosity.hpp
@@ -0,0 +1,33 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_DYNAMIC_VISCOSITY_HPP
+#define BOOST_UNITS_CGS_DYNAMIC_VISCOSITY_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/dynamic_viscosity.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<dynamic_viscosity_dimension,cgs::system> dynamic_viscosity;
+
+BOOST_UNITS_STATIC_CONSTANT(poise,dynamic_viscosity);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_DYNAMIC_VISCOSITY_HPP
diff --git a/boost/units/systems/cgs/energy.hpp b/boost/units/systems/cgs/energy.hpp
new file mode 100644
index 0000000..f710996
--- /dev/null
+++ b/boost/units/systems/cgs/energy.hpp
@@ -0,0 +1,34 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_ENERGY_HPP
+#define BOOST_UNITS_CGS_ENERGY_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/energy.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<energy_dimension,cgs::system> energy;
+
+BOOST_UNITS_STATIC_CONSTANT(erg,energy);
+BOOST_UNITS_STATIC_CONSTANT(ergs,energy);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_ENERGY_HPP
diff --git a/boost/units/systems/cgs/force.hpp b/boost/units/systems/cgs/force.hpp
new file mode 100644
index 0000000..3328b5d
--- /dev/null
+++ b/boost/units/systems/cgs/force.hpp
@@ -0,0 +1,34 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_FORCE_HPP
+#define BOOST_UNITS_CGS_FORCE_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/force.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<force_dimension,cgs::system> force;
+
+BOOST_UNITS_STATIC_CONSTANT(dyne,force);
+BOOST_UNITS_STATIC_CONSTANT(dynes,force);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_FORCE_HPP
diff --git a/boost/units/systems/cgs/frequency.hpp b/boost/units/systems/cgs/frequency.hpp
new file mode 100644
index 0000000..ef90aea
--- /dev/null
+++ b/boost/units/systems/cgs/frequency.hpp
@@ -0,0 +1,31 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_FREQUENCY_HPP
+#define BOOST_UNITS_CGS_FREQUENCY_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/frequency.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<frequency_dimension,cgs::system> frequency;
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_FREQUENCY_HPP
diff --git a/boost/units/systems/cgs/io.hpp b/boost/units/systems/cgs/io.hpp
new file mode 100644
index 0000000..6f57b1e
--- /dev/null
+++ b/boost/units/systems/cgs/io.hpp
@@ -0,0 +1,50 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_IO_HPP
+#define BOOST_UNITS_CGS_IO_HPP
+
+#include <boost/units/io.hpp>
+#include <boost/units/reduce_unit.hpp>
+#include <boost/units/systems/cgs.hpp>
+
+namespace boost {
+
+namespace units {
+
+inline std::string name_string(const reduce_unit<cgs::acceleration>::type&) { return "galileo"; }
+inline std::string symbol_string(const reduce_unit<cgs::acceleration>::type&) { return "Gal"; }
+
+inline std::string name_string(const reduce_unit<cgs::current>::type&) { return "biot"; }
+inline std::string symbol_string(const reduce_unit<cgs::current>::type&) { return "Bi"; }
+
+inline std::string name_string(const reduce_unit<cgs::dynamic_viscosity>::type&) { return "poise"; }
+inline std::string symbol_string(const reduce_unit<cgs::dynamic_viscosity>::type&) { return "P"; }
+
+inline std::string name_string(const reduce_unit<cgs::energy>::type&) { return "erg"; }
+inline std::string symbol_string(const reduce_unit<cgs::energy>::type&) { return "erg"; }
+
+inline std::string name_string(const reduce_unit<cgs::force>::type&) { return "dyne"; }
+inline std::string symbol_string(const reduce_unit<cgs::force>::type&) { return "dyn"; }
+
+inline std::string name_string(const reduce_unit<cgs::kinematic_viscosity>::type&) { return "stoke"; }
+inline std::string symbol_string(const reduce_unit<cgs::kinematic_viscosity>::type&) { return "St"; }
+
+inline std::string name_string(const reduce_unit<cgs::pressure>::type&) { return "barye"; }
+inline std::string symbol_string(const reduce_unit<cgs::pressure>::type&) { return "Ba"; }
+
+inline std::string name_string(const reduce_unit<cgs::wavenumber>::type&) { return "kayser"; }
+inline std::string symbol_string(const reduce_unit<cgs::wavenumber>::type&) { return "K"; }
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_IO_HPP
diff --git a/boost/units/systems/cgs/kinematic_viscosity.hpp b/boost/units/systems/cgs/kinematic_viscosity.hpp
new file mode 100644
index 0000000..185582b
--- /dev/null
+++ b/boost/units/systems/cgs/kinematic_viscosity.hpp
@@ -0,0 +1,34 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_KINEMATIC_VISCOSITY_HPP
+#define BOOST_UNITS_CGS_KINEMATIC_VISCOSITY_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/kinematic_viscosity.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<kinematic_viscosity_dimension,cgs::system> kinematic_viscosity;
+
+BOOST_UNITS_STATIC_CONSTANT(stoke,kinematic_viscosity);
+BOOST_UNITS_STATIC_CONSTANT(stokes,kinematic_viscosity);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_KINEMATIC_VISCOSITY_HPP
diff --git a/boost/units/systems/cgs/length.hpp b/boost/units/systems/cgs/length.hpp
new file mode 100644
index 0000000..6d04cfe
--- /dev/null
+++ b/boost/units/systems/cgs/length.hpp
@@ -0,0 +1,35 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_LENGTH_HPP
+#define BOOST_UNITS_CGS_LENGTH_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<length_dimension,cgs::system> length;
+
+BOOST_UNITS_STATIC_CONSTANT(centimeter,length);
+BOOST_UNITS_STATIC_CONSTANT(centimeters,length);
+BOOST_UNITS_STATIC_CONSTANT(centimetre,length);
+BOOST_UNITS_STATIC_CONSTANT(centimetres,length);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_LENGTH_HPP
diff --git a/boost/units/systems/cgs/mass.hpp b/boost/units/systems/cgs/mass.hpp
new file mode 100644
index 0000000..70bf7c4
--- /dev/null
+++ b/boost/units/systems/cgs/mass.hpp
@@ -0,0 +1,36 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_MASS_HPP
+#define BOOST_UNITS_CGS_MASS_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<mass_dimension,cgs::system> mass;
+
+BOOST_UNITS_STATIC_CONSTANT(gram,mass);
+BOOST_UNITS_STATIC_CONSTANT(grams,mass);
+BOOST_UNITS_STATIC_CONSTANT(gramme,mass);
+BOOST_UNITS_STATIC_CONSTANT(grammes,mass);
+
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_MASS_HPP
diff --git a/boost/units/systems/cgs/mass_density.hpp b/boost/units/systems/cgs/mass_density.hpp
new file mode 100644
index 0000000..5b2ce9e
--- /dev/null
+++ b/boost/units/systems/cgs/mass_density.hpp
@@ -0,0 +1,31 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_MASS_DENSITY_HPP
+#define BOOST_UNITS_CGS_MASS_DENSITY_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/mass_density.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<mass_density_dimension,cgs::system> mass_density;
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_MASS_DENSITY_HPP
diff --git a/boost/units/systems/cgs/momentum.hpp b/boost/units/systems/cgs/momentum.hpp
new file mode 100644
index 0000000..6325a95
--- /dev/null
+++ b/boost/units/systems/cgs/momentum.hpp
@@ -0,0 +1,31 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_MOMENTUM_HPP
+#define BOOST_UNITS_CGS_MOMENTUM_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/momentum.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<momentum_dimension,cgs::system> momentum;
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_MOMENTUM_HPP
diff --git a/boost/units/systems/cgs/power.hpp b/boost/units/systems/cgs/power.hpp
new file mode 100644
index 0000000..3ecb353
--- /dev/null
+++ b/boost/units/systems/cgs/power.hpp
@@ -0,0 +1,31 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_POWER_HPP
+#define BOOST_UNITS_CGS_POWER_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/power.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<power_dimension,cgs::system> power;
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_POWER_HPP
diff --git a/boost/units/systems/cgs/pressure.hpp b/boost/units/systems/cgs/pressure.hpp
new file mode 100644
index 0000000..faef178
--- /dev/null
+++ b/boost/units/systems/cgs/pressure.hpp
@@ -0,0 +1,34 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_PRESSURE_HPP
+#define BOOST_UNITS_CGS_PRESSURE_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/pressure.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<pressure_dimension,cgs::system> pressure;
+
+BOOST_UNITS_STATIC_CONSTANT(barye,pressure);
+BOOST_UNITS_STATIC_CONSTANT(baryes,pressure);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_PRESSURE_HPP
diff --git a/boost/units/systems/cgs/time.hpp b/boost/units/systems/cgs/time.hpp
new file mode 100644
index 0000000..2ac3b04
--- /dev/null
+++ b/boost/units/systems/cgs/time.hpp
@@ -0,0 +1,33 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_TIME_HPP
+#define BOOST_UNITS_CGS_TIME_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<time_dimension,cgs::system> time;
+
+BOOST_UNITS_STATIC_CONSTANT(second,time);
+BOOST_UNITS_STATIC_CONSTANT(seconds,time);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_TIME_HPP
diff --git a/boost/units/systems/cgs/velocity.hpp b/boost/units/systems/cgs/velocity.hpp
new file mode 100644
index 0000000..152240a
--- /dev/null
+++ b/boost/units/systems/cgs/velocity.hpp
@@ -0,0 +1,36 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_VELOCITY_HPP
+#define BOOST_UNITS_CGS_VELOCITY_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/velocity.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<velocity_dimension,cgs::system> velocity;
+
+BOOST_UNITS_STATIC_CONSTANT(centimeter_per_second,velocity);
+BOOST_UNITS_STATIC_CONSTANT(centimeters_per_second,velocity);
+BOOST_UNITS_STATIC_CONSTANT(centimetre_per_second,velocity);
+BOOST_UNITS_STATIC_CONSTANT(centimetres_per_second,velocity);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_VELOCITY_HPP
diff --git a/boost/units/systems/cgs/volume.hpp b/boost/units/systems/cgs/volume.hpp
new file mode 100644
index 0000000..5e40cba
--- /dev/null
+++ b/boost/units/systems/cgs/volume.hpp
@@ -0,0 +1,36 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_VOLUME_HPP
+#define BOOST_UNITS_CGS_VOLUME_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/volume.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<volume_dimension,cgs::system> volume;
+
+BOOST_UNITS_STATIC_CONSTANT(cubic_centimeter,volume);
+BOOST_UNITS_STATIC_CONSTANT(cubic_centimeters,volume);
+BOOST_UNITS_STATIC_CONSTANT(cubic_centimetre,volume);
+BOOST_UNITS_STATIC_CONSTANT(cubic_centimetres,volume);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_VOLUME_HPP
diff --git a/boost/units/systems/cgs/wavenumber.hpp b/boost/units/systems/cgs/wavenumber.hpp
new file mode 100644
index 0000000..69c99ca
--- /dev/null
+++ b/boost/units/systems/cgs/wavenumber.hpp
@@ -0,0 +1,38 @@
+// Boost.Units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2008 Matthias Christian Schabel
+// Copyright (C) 2008 Steven Watanabe
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_UNITS_CGS_WAVENUMBER_HPP
+#define BOOST_UNITS_CGS_WAVENUMBER_HPP
+
+#include <boost/units/systems/cgs/base.hpp>
+#include <boost/units/physical_dimensions/wavenumber.hpp>
+
+namespace boost {
+
+namespace units {
+
+namespace cgs {
+
+typedef unit<wavenumber_dimension,cgs::system> wavenumber;
+
+BOOST_UNITS_STATIC_CONSTANT(kayser,wavenumber);
+BOOST_UNITS_STATIC_CONSTANT(kaysers,wavenumber);
+BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimeter,wavenumber);
+BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimeters,wavenumber);
+BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimetre,wavenumber);
+BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimetres,wavenumber);
+
+} // namespace cgs
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_CGS_WAVENUMBER_HPP