Boost logo

Boost-Commit :

From: boost_at_[hidden]
Date: 2008-05-26 19:08:36


Author: matthiasschabel
Date: 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
New Revision: 45798
URL: http://svn.boost.org/trac/boost/changeset/45798

Log:
fix inconsistent naming of EM dimensions
Text files modified:
   sandbox/units/boost/units/physical_dimensions.hpp | 2 ++
   sandbox/units/boost/units/physical_dimensions/capacitance.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/conductance.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/conductivity.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/electric_charge.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/electric_potential.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/frequency.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/impedance.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/inductance.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/magnetic_field_intensity.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/permeability.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/permittivity.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/reluctance.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/resistance.hpp | 2 +-
   sandbox/units/boost/units/physical_dimensions/resistivity.hpp | 2 +-
   sandbox/units/boost/units/systems/si.hpp | 1 +
   sandbox/units/boost/units/systems/si/capacitance.hpp | 2 +-
   sandbox/units/boost/units/systems/si/conductance.hpp | 2 +-
   sandbox/units/boost/units/systems/si/conductivity.hpp | 2 +-
   sandbox/units/boost/units/systems/si/electric_charge.hpp | 2 +-
   sandbox/units/boost/units/systems/si/electric_potential.hpp | 2 +-
   sandbox/units/boost/units/systems/si/impedance.hpp | 2 +-
   sandbox/units/boost/units/systems/si/inductance.hpp | 2 +-
   sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp | 2 +-
   sandbox/units/boost/units/systems/si/magnetic_flux.hpp | 2 +-
   sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp | 2 +-
   sandbox/units/boost/units/systems/si/permeability.hpp | 2 +-
   sandbox/units/boost/units/systems/si/permittivity.hpp | 2 +-
   sandbox/units/boost/units/systems/si/reluctance.hpp | 2 +-
   sandbox/units/boost/units/systems/si/resistance.hpp | 2 +-
   sandbox/units/boost/units/systems/si/resistivity.hpp | 2 +-
   33 files changed, 34 insertions(+), 31 deletions(-)

Modified: sandbox/units/boost/units/physical_dimensions.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -34,6 +34,7 @@
 #include <boost/units/physical_dimensions/acceleration.hpp>
 #include <boost/units/physical_dimensions/action.hpp>
 #include <boost/units/physical_dimensions/activity.hpp>
+#include <boost/units/physical_dimensions/angular_momentum.hpp>
 #include <boost/units/physical_dimensions/angular_velocity.hpp>
 #include <boost/units/physical_dimensions/area.hpp>
 #include <boost/units/physical_dimensions/capacitance.hpp>
@@ -60,6 +61,7 @@
 #include <boost/units/physical_dimensions/mass_density.hpp>
 #include <boost/units/physical_dimensions/molar_energy.hpp>
 #include <boost/units/physical_dimensions/molar_heat_capacity.hpp>
+#include <boost/units/physical_dimensions/moment_of_inertia.hpp>
 #include <boost/units/physical_dimensions/momentum.hpp>
 #include <boost/units/physical_dimensions/permeability.hpp>
 #include <boost/units/physical_dimensions/permittivity.hpp>

Modified: sandbox/units/boost/units/physical_dimensions/capacitance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/capacitance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/capacitance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,-2,
                           mass_base_dimension,-1,
                           time_base_dimension,4,
- current_base_dimension,2>::type capacitance_type;
+ current_base_dimension,2>::type capacitance_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/conductance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/conductance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/conductance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,-2,
                           mass_base_dimension,-1,
                           time_base_dimension,3,
- current_base_dimension,2>::type conductance_type;
+ current_base_dimension,2>::type conductance_dimension;
                           
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/conductivity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/conductivity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/conductivity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,-3,
                           mass_base_dimension,-1,
                           time_base_dimension,3,
- current_base_dimension,2>::type conductivity_type;
+ current_base_dimension,2>::type conductivity_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/electric_charge.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/electric_charge.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/electric_charge.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -21,7 +21,7 @@
 
 /// derived dimension for electric charge : T^1 I^1
 typedef derived_dimension<time_base_dimension,1,
- current_base_dimension,1>::type electric_charge_type;
+ current_base_dimension,1>::type electric_charge_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/electric_potential.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/electric_potential.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/electric_potential.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           time_base_dimension,-3,
- current_base_dimension,-1>::type electric_potential_type;
+ current_base_dimension,-1>::type electric_potential_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/frequency.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/frequency.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/frequency.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -19,7 +19,7 @@
 namespace units {
 
 /// derived dimension for frequency : T^-1
-typedef derived_dimension<time_base_dimension,-1>::type frequency_dimension;
+typedef derived_dimension<time_base_dimension,-1>::type frequency_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/impedance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/impedance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/impedance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           time_base_dimension,-3,
- current_base_dimension,-2>::type impedance_type;
+ current_base_dimension,-2>::type impedance_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/inductance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/inductance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/inductance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           time_base_dimension,-2,
- current_base_dimension,-2>::type inductance_type;
+ current_base_dimension,-2>::type inductance_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/magnetic_field_intensity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/magnetic_field_intensity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/magnetic_field_intensity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -21,7 +21,7 @@
 
 /// derived dimension for magnetic field intensity : L^-1 I
 typedef derived_dimension<length_base_dimension,-1,
- current_base_dimension,1>::type magnetic_field_intensity_type;
+ current_base_dimension,1>::type magnetic_field_intensity_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           time_base_dimension,-2,
- current_base_dimension,-1>::type magnetic_flux_type;
+ current_base_dimension,-1>::type magnetic_flux_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -23,7 +23,7 @@
 /// derived dimension for magnetic flux density : M T^-2 I^-1
 typedef derived_dimension<mass_base_dimension,1,
                           time_base_dimension,-2,
- current_base_dimension,-1>::type magnetic_flux_density_type;
+ current_base_dimension,-1>::type magnetic_flux_density_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/permeability.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/permeability.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/permeability.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,1,
                           mass_base_dimension,1,
                           time_base_dimension,-2,
- current_base_dimension,-2>::type permeability_type;
+ current_base_dimension,-2>::type permeability_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/permittivity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/permittivity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/permittivity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,-3,
                           mass_base_dimension,-1,
                           time_base_dimension,4,
- current_base_dimension,2>::type permittivity_type;
+ current_base_dimension,2>::type permittivity_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/reluctance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/reluctance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/reluctance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,-2,
                           mass_base_dimension,-1,
                           time_base_dimension,2,
- current_base_dimension,2>::type reluctance_type;
+ current_base_dimension,2>::type reluctance_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/resistance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/resistance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/resistance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,2,
                           mass_base_dimension,1,
                           time_base_dimension,-3,
- current_base_dimension,-2>::type resistance_type;
+ current_base_dimension,-2>::type resistance_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/physical_dimensions/resistivity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/resistivity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/resistivity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -25,7 +25,7 @@
 typedef derived_dimension<length_base_dimension,3,
                           mass_base_dimension,1,
                           time_base_dimension,-3,
- current_base_dimension,-2>::type resistivity_type;
+ current_base_dimension,-2>::type resistivity_dimension;
 
 } // namespace units
 

Modified: sandbox/units/boost/units/systems/si.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si.hpp (original)
+++ sandbox/units/boost/units/systems/si.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -22,6 +22,7 @@
 
 #include <boost/units/systems/si/absorbed_dose.hpp>
 #include <boost/units/systems/si/acceleration.hpp>
+#include <boost/units/systems/si/action.hpp>
 #include <boost/units/systems/si/activity.hpp>
 #include <boost/units/systems/si/amount.hpp>
 #include <boost/units/systems/si/angular_momentum.hpp>

Modified: sandbox/units/boost/units/systems/si/capacitance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/capacitance.hpp (original)
+++ sandbox/units/boost/units/systems/si/capacitance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<capacitance_type,si::system> capacitance;
+typedef unit<capacitance_dimension,si::system> capacitance;
     
 BOOST_UNITS_STATIC_CONSTANT(farad,capacitance);
 BOOST_UNITS_STATIC_CONSTANT(farads,capacitance);

Modified: sandbox/units/boost/units/systems/si/conductance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/conductance.hpp (original)
+++ sandbox/units/boost/units/systems/si/conductance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<conductance_type,si::system> conductance;
+typedef unit<conductance_dimension,si::system> conductance;
 
 BOOST_UNITS_STATIC_CONSTANT(siemen,conductance);
 BOOST_UNITS_STATIC_CONSTANT(siemens,conductance);

Modified: sandbox/units/boost/units/systems/si/conductivity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/conductivity.hpp (original)
+++ sandbox/units/boost/units/systems/si/conductivity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<conductivity_type,si::system> conductivity;
+typedef unit<conductivity_dimension,si::system> conductivity;
                                         
 } // namespace si
 

Modified: sandbox/units/boost/units/systems/si/electric_charge.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/electric_charge.hpp (original)
+++ sandbox/units/boost/units/systems/si/electric_charge.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<electric_charge_type,si::system> electric_charge;
+typedef unit<electric_charge_dimension,si::system> electric_charge;
    
 BOOST_UNITS_STATIC_CONSTANT(coulomb,electric_charge);
 BOOST_UNITS_STATIC_CONSTANT(coulombs,electric_charge);

Modified: sandbox/units/boost/units/systems/si/electric_potential.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/electric_potential.hpp (original)
+++ sandbox/units/boost/units/systems/si/electric_potential.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<electric_potential_type,si::system> electric_potential;
+typedef unit<electric_potential_dimension,si::system> electric_potential;
     
 BOOST_UNITS_STATIC_CONSTANT(volt,electric_potential);
 BOOST_UNITS_STATIC_CONSTANT(volts,electric_potential);

Modified: sandbox/units/boost/units/systems/si/impedance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/impedance.hpp (original)
+++ sandbox/units/boost/units/systems/si/impedance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<impedance_type,si::system> impedance;
+typedef unit<impedance_dimension,si::system> impedance;
                                             
 } // namespace si
 

Modified: sandbox/units/boost/units/systems/si/inductance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/inductance.hpp (original)
+++ sandbox/units/boost/units/systems/si/inductance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<inductance_type,si::system> inductance;
+typedef unit<inductance_dimension,si::system> inductance;
     
 BOOST_UNITS_STATIC_CONSTANT(henry,inductance);
 BOOST_UNITS_STATIC_CONSTANT(henrys,inductance);

Modified: sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp (original)
+++ sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<magnetic_field_intensity_type,si::system> magnetic_field_intensity;
+typedef unit<magnetic_field_intensity_dimension,si::system> magnetic_field_intensity;
                                                                                        
 } // namespace si
 

Modified: sandbox/units/boost/units/systems/si/magnetic_flux.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/magnetic_flux.hpp (original)
+++ sandbox/units/boost/units/systems/si/magnetic_flux.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<magnetic_flux_type,si::system> magnetic_flux;
+typedef unit<magnetic_flux_dimension,si::system> magnetic_flux;
     
 BOOST_UNITS_STATIC_CONSTANT(weber,magnetic_flux);
 BOOST_UNITS_STATIC_CONSTANT(webers,magnetic_flux);

Modified: sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp (original)
+++ sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<magnetic_flux_density_type,si::system> magnetic_flux_density;
+typedef unit<magnetic_flux_density_dimension,si::system> magnetic_flux_density;
     
 BOOST_UNITS_STATIC_CONSTANT(tesla,magnetic_flux_density);
 BOOST_UNITS_STATIC_CONSTANT(teslas,magnetic_flux_density);

Modified: sandbox/units/boost/units/systems/si/permeability.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/permeability.hpp (original)
+++ sandbox/units/boost/units/systems/si/permeability.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<permeability_type,si::system> permeability;
+typedef unit<permeability_dimension,si::system> permeability;
 
 } // namespace si
 

Modified: sandbox/units/boost/units/systems/si/permittivity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/permittivity.hpp (original)
+++ sandbox/units/boost/units/systems/si/permittivity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<permittivity_type,si::system> permittivity;
+typedef unit<permittivity_dimension,si::system> permittivity;
 
 } // namespace si
 

Modified: sandbox/units/boost/units/systems/si/reluctance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/reluctance.hpp (original)
+++ sandbox/units/boost/units/systems/si/reluctance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<reluctance_type,si::system> reluctance;
+typedef unit<reluctance_dimension,si::system> reluctance;
 
 } // namespace si
 

Modified: sandbox/units/boost/units/systems/si/resistance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/resistance.hpp (original)
+++ sandbox/units/boost/units/systems/si/resistance.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<resistance_type,si::system> resistance;
+typedef unit<resistance_dimension,si::system> resistance;
 
 BOOST_UNITS_STATIC_CONSTANT(ohm,resistance);
 BOOST_UNITS_STATIC_CONSTANT(ohms,resistance);

Modified: sandbox/units/boost/units/systems/si/resistivity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/resistivity.hpp (original)
+++ sandbox/units/boost/units/systems/si/resistivity.hpp 2008-05-26 19:08:33 EDT (Mon, 26 May 2008)
@@ -20,7 +20,7 @@
 
 namespace si {
 
-typedef unit<resistivity_type,si::system> resistivity;
+typedef unit<resistivity_dimension,si::system> resistivity;
 
 } // namespace si
 


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