Boost logo

Boost-Commit :

From: matthiasschabel_at_[hidden]
Date: 2007-05-31 12:42:31


Author: matthiasschabel
Date: 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
New Revision: 4378
URL: http://svn.boost.org/trac/boost/changeset/4378

Log:
granular derived dimension headers

Added:
   sandbox/units/boost/units/systems/derived_dimensions/
   sandbox/units/boost/units/systems/derived_dimensions/absorbed_dose_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/acceleration_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/action_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/activity_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/angular_velocity_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/area_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/dose_equivalent_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/dynamic_viscosity_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/energy_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/force_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/frequency_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/illuminance_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/kinematic_viscosity_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/luminance_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/luminous_flux_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/mass_density_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/momentum_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/power_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/pressure_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/specific_volume_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/stress_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/surface_density_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/velocity_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/volume_derived_dimension.hpp
   sandbox/units/boost/units/systems/derived_dimensions/wavenumber_derived_dimension.hpp

Added: sandbox/units/boost/units/systems/derived_dimensions/absorbed_dose_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/absorbed_dose_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_ABSORBED_DOSE_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_ABSORBED_DOSE_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for absorbed dose : L^2 T^-2
+typedef derived_dimension<length_base_dimension,2,time_base_dimension,-2>::type absorbed_dose_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_ABSORBED_DOSE_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/acceleration_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/acceleration_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_ACCELERATION_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_ACCELERATION_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for acceleration : L T^-2
+typedef derived_dimension<length_base_dimension,1,time_base_dimension,-2>::type acceleration_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_ACCELERATION_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/action_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/action_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_ACTION_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_ACTION_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for action : L^2 M T^-1
+typedef derived_dimension<length_base_dimension,2,mass_base_dimension,1,time_base_dimension,-1>::type action_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_ACTION_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/activity_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/activity_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,28 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_ACTIVITY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_ACTIVITY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for activity : T^-1
+typedef derived_dimension<time_base_dimension,-1>::type activity_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_ACTIVITY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/angular_velocity_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/angular_velocity_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_ANGULAR_VELOCITY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_ANGULAR_VELOCITY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/plane_angle_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for angular velocity : T^-1 QP
+typedef derived_dimension<time_base_dimension,-1,plane_angle_base_dimension,1>::type angular_velocity_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_ANGULAR_VELOCITY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/area_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/area_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,28 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_AREA_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_AREA_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for area : L^2
+typedef derived_dimension<length_base_dimension,2>::type area_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_AREA_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/dose_equivalent_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/dose_equivalent_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_DOSE_EQUIVALENT_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_DOSE_EQUIVALENT_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for dose equivalent : L^2 T^-2
+typedef derived_dimension<length_base_dimension,2,time_base_dimension,-2>::type dose_equivalent_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_DOSE_EQUIVALENT_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/dynamic_viscosity_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/dynamic_viscosity_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_DYNAMIC_VISCOSITY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_DYNAMIC_VISCOSITY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for dynamic viscosity : M L^-1 T^-1
+typedef derived_dimension<mass_base_dimension,1,length_base_dimension,-1,time_base_dimension,-1>::type dynamic_viscosity_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_DYNAMIC_VISCOSITY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/energy_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/energy_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_ENERGY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_ENERGY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for energy : L^2 M T^-2
+typedef derived_dimension<length_base_dimension,2,mass_base_dimension,1,time_base_dimension,-2>::type energy_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_ENERGY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/force_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/force_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_FORCE_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_FORCE_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for force : L M T^-2
+typedef derived_dimension<length_base_dimension,1,mass_base_dimension,1,time_base_dimension,-2>::type force_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_FORCE_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/frequency_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/frequency_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,28 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_FREQUENCY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_FREQUENCY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for frequency : T^-1
+typedef derived_dimension<time_base_dimension,-1>::type frequency_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_FREQUENCY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/illuminance_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/illuminance_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_ILLUMINANCE_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_ILLUMINANCE_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/luminous_intensity_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/solid_angle_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for illuminance : L^-2 I QS
+typedef derived_dimension<length_base_dimension,-2,luminous_intensity_base_dimension,1,solid_angle_base_dimension,1>::type illuminance_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_ILLUMINANCE_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/kinematic_viscosity_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/kinematic_viscosity_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_KINEMATIC_VISCOSITY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_KINEMATIC_VISCOSITY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for kinematic viscosity : L^2 T^-1
+typedef derived_dimension<length_base_dimension,2,time_base_dimension,-1>::type kinematic_viscosity_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_KINEMATIC_VISCOSITY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/luminance_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/luminance_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_LUMINANCE_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_LUMINANCE_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/luminous_intensity_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for luminance : L^-2 I
+typedef derived_dimension<length_base_dimension,-2,luminous_intensity_base_dimension,1>::type luminance_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_LUMINANCE_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/luminous_flux_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/luminous_flux_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_LUMINOUS_FLUX_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_LUMINOUS_FLUX_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/luminous_intensity_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/solid_angle_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for luminous flux : I QS
+typedef derived_dimension<luminous_intensity_base_dimension,1,solid_angle_base_dimension,1>::type luminous_flux_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_LUMINOUS_FLUX_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/mass_density_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/mass_density_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_MASS_DENSITY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_MASS_DENSITY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for mass density : L^-3 M
+typedef derived_dimension<length_base_dimension,-3,mass_base_dimension,1>::type mass_density_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_MASS_DENSITY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/momentum_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/momentum_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_MOMENTUM_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_MOMENTUM_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for linear momentum : L M T^-1
+typedef derived_dimension<length_base_dimension,1,mass_base_dimension,1,time_base_dimension,-1>::type momentum_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_MOMENTUM_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/power_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/power_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_POWER_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_POWER_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for power : L^2 M T^-3
+typedef derived_dimension<length_base_dimension,2,mass_base_dimension,1,time_base_dimension,-3>::type power_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_POWER_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/pressure_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/pressure_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_PRESSURE_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_PRESSURE_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for pressure : L^-1 M T^-2
+typedef derived_dimension<length_base_dimension,-1,mass_base_dimension,1,time_base_dimension,-2>::type pressure_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_PRESSURE_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/specific_volume_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/specific_volume_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_SPECIFIC_VOLUME_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_SPECIFIC_VOLUME_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for specific volume : L^3 M^-1
+typedef derived_dimension<length_base_dimension,3,mass_base_dimension,-1>::type specific_volume_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_SPECIFIC_VOLUME_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/stress_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/stress_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,30 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_STRESS_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_STRESS_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for stress : L^-1 M T^-2
+typedef derived_dimension<length_base_dimension,-1,mass_base_dimension,1,time_base_dimension,-2>::type stress_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_STRESS_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/surface_density_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/surface_density_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_SURFACE_DENSITY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_SURFACE_DENSITY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/mass_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for surface density : L^-2 M
+typedef derived_dimension<length_base_dimension,-2,mass_base_dimension,1>::type surface_density_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_SURFACE_DENSITY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/velocity_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/velocity_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,29 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_VELOCITY_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_VELOCITY_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+#include <boost/units/systems/base_dimensions/time_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for velocity : L T^-1
+typedef derived_dimension<length_base_dimension,1,time_base_dimension,-1>::type velocity_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_VELOCITY_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/volume_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/volume_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,28 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_VOLUME_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_VOLUME_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for volume : l^3
+typedef derived_dimension<length_base_dimension,3>::type volume_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_VOLUME_DERIVED_DIMENSION_HPP

Added: sandbox/units/boost/units/systems/derived_dimensions/wavenumber_derived_dimension.hpp
==============================================================================
--- (empty file)
+++ sandbox/units/boost/units/systems/derived_dimensions/wavenumber_derived_dimension.hpp 2007-05-31 12:42:29 EDT (Thu, 31 May 2007)
@@ -0,0 +1,28 @@
+// mcs::units - A C++ library for zero-overhead dimensional analysis and
+// unit/quantity manipulation and conversion
+//
+// Copyright (C) 2003-2007 Matthias Christian Schabel
+// Copyright (C) 2007 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_WAVENUMBER_DERIVED_DIMENSION_HPP
+#define BOOST_UNITS_WAVENUMBER_DERIVED_DIMENSION_HPP
+
+#include <boost/units/derived_dimension.hpp>
+#include <boost/units/systems/base_dimensions/length_base_dimension.hpp>
+
+namespace boost {
+
+namespace units {
+
+/// derived dimension for wavenumber : L^-1
+typedef derived_dimension<length_base_dimension,-1>::type wavenumber_dim;
+
+} // namespace units
+
+} // namespace boost
+
+#endif // BOOST_UNITS_WAVENUMBER_DERIVED_DIMENSION_HPP


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk