Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11216/systems/si Modified Files: base.hpp capacitance.hpp catalytic_activity.hpp conductance.hpp conductivity.hpp electric_charge.hpp electric_potential.hpp impedance.hpp inductance.hpp magnetic_field_intensity.hpp magnetic_flux.hpp magnetic_flux_density.hpp permeability.hpp permittivity.hpp reluctance.hpp resistance.hpp resistivity.hpp Log Message: change dimension tagging Index: resistivity.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/resistivity.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- resistivity.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ resistivity.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// resistivity : L^3 M T^-3 C^-2 -typedef derived_dimension<length_tag,3,mass_tag,1,time_tag,-3,current_tag,-2>::type resistivity_type; +typedef derived_dimension<length_dim,3,mass_dim,1,time_dim,-3,current_dim,-2>::type resistivity_type; typedef unit<SI::resistivity_type,SI::system> resistivity; Index: permeability.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/permeability.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- permeability.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ permeability.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// permeability : L M T^-2 C^-2 -typedef derived_dimension<length_tag,1,mass_tag,1,time_tag,-2,current_tag,-2>::type permeability_type; +typedef derived_dimension<length_dim,1,mass_dim,1,time_dim,-2,current_dim,-2>::type permeability_type; typedef unit<SI::permeability_type,SI::system> permeability; Index: electric_charge.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/electric_charge.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- electric_charge.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ electric_charge.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// electric charge : T^1 C^1 -typedef derived_dimension<time_tag,1,current_tag,1>::type electric_charge_type; +typedef derived_dimension<time_dim,1,current_dim,1>::type electric_charge_type; typedef unit<SI::electric_charge_type,SI::system> electric_charge; Index: electric_potential.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/electric_potential.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- electric_potential.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ electric_potential.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// electric potential : L^2 M T^-3 C^-1 -typedef derived_dimension<length_tag,2,mass_tag,1,time_tag,-3,current_tag,-1>::type electric_potential_type; +typedef derived_dimension<length_dim,2,mass_dim,1,time_dim,-3,current_dim,-1>::type electric_potential_type; typedef unit<SI::electric_potential_type,SI::system> electric_potential; Index: impedance.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/impedance.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- impedance.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ impedance.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// impedance : L^2 M T^-3 C^-2 -typedef derived_dimension<length_tag,2,mass_tag,1,time_tag,-3,current_tag,-2>::type impedance_type; +typedef derived_dimension<length_dim,2,mass_dim,1,time_dim,-3,current_dim,-2>::type impedance_type; typedef unit<SI::impedance_type,SI::system> impedance; Index: capacitance.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/capacitance.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- capacitance.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ capacitance.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// capacitance : L^-2 M^-1 T^4 C^2 -typedef derived_dimension<length_tag,-2,mass_tag,-1,time_tag,4,current_tag,2>::type capacitance_type; +typedef derived_dimension<length_dim,-2,mass_dim,-1,time_dim,4,current_dim,2>::type capacitance_type; typedef unit<SI::capacitance_type,SI::system> capacitance; Index: magnetic_flux_density.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/magnetic_flux_density.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- magnetic_flux_density.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ magnetic_flux_density.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// magnetic flux density : M T^-2 C^-1 -typedef derived_dimension<mass_tag,1,time_tag,-2,current_tag,-1>::type magnetic_flux_density_type; +typedef derived_dimension<mass_dim,1,time_dim,-2,current_dim,-1>::type magnetic_flux_density_type; typedef unit<SI::magnetic_flux_density_type,SI::system> magnetic_flux_density; Index: conductance.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/conductance.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- conductance.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ conductance.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// conductance : L^-2 M^-1 T^3 C^2 -typedef derived_dimension<length_tag,-2,mass_tag,-1,time_tag,3,current_tag,2>::type conductance_type; +typedef derived_dimension<length_dim,-2,mass_dim,-1,time_dim,3,current_dim,2>::type conductance_type; typedef unit<SI::conductance_type,SI::system> conductance; Index: resistance.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/resistance.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- resistance.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ resistance.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// resistance : L^2 M T^-3 C^-2 -typedef derived_dimension<length_tag,2,mass_tag,1,time_tag,-3,current_tag,-2>::type resistance_type; +typedef derived_dimension<length_dim,2,mass_dim,1,time_dim,-3,current_dim,-2>::type resistance_type; typedef unit<SI::resistance_type,SI::system> resistance; Index: permittivity.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/permittivity.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- permittivity.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ permittivity.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// permittivity : L^-3 M^-1 T^4 C^2 -typedef derived_dimension<length_tag,-3,mass_tag,-1,time_tag,4,current_tag,2>::type permittivity_type; +typedef derived_dimension<length_dim,-3,mass_dim,-1,time_dim,4,current_dim,2>::type permittivity_type; typedef unit<SI::permittivity_type,SI::system> permittivity; Index: reluctance.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/reluctance.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- reluctance.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ reluctance.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// reluctance : L^-2 M^-1 T^2 C^2 -typedef derived_dimension<length_tag,-2,mass_tag,-1,time_tag,2,current_tag,2>::type reluctance_type; +typedef derived_dimension<length_dim,-2,mass_dim,-1,time_dim,2,current_dim,2>::type reluctance_type; typedef unit<SI::reluctance_type,SI::system> reluctance; Index: catalytic_activity.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/catalytic_activity.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- catalytic_activity.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ catalytic_activity.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// catalytic activity : T^-1 A^1 -typedef derived_dimension<time_tag,-1,amount_tag,1>::type catalytic_activity_type; +typedef derived_dimension<time_dim,-1,amount_dim,1>::type catalytic_activity_type; typedef unit<SI::catalytic_activity_type,SI::system> catalytic_activity; Index: base.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/base.hpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- base.hpp 3 Apr 2007 22:43:10 -0000 1.6 +++ base.hpp 10 Apr 2007 22:58:42 -0000 1.7 @@ -56,63 +56,63 @@ } // namespace SI template<> -struct base_unit_info<length_tag,SI::system_tag> +struct base_unit_info<length_dim,SI::system_tag> { static std::string name() { return "meter"; } static std::string symbol() { return "m"; } }; template<> -struct base_unit_info<mass_tag,SI::system_tag> +struct base_unit_info<mass_dim,SI::system_tag> { static std::string name() { return "kilogram"; } static std::string symbol() { return "kg"; } }; template<> -struct base_unit_info<time_tag,SI::system_tag> +struct base_unit_info<time_dim,SI::system_tag> { static std::string name() { return "second"; } static std::string symbol() { return "s"; } }; template<> -struct base_unit_info<current_tag,SI::system_tag> +struct base_unit_info<current_dim,SI::system_tag> { static std::string name() { return "ampere"; } static std::string symbol() { return "A"; } }; template<> -struct base_unit_info<temperature_tag,SI::system_tag> +struct base_unit_info<temperature_dim,SI::system_tag> { static std::string name() { return "kelvin"; } static std::string symbol() { return "K"; } }; template<> -struct base_unit_info<amount_tag,SI::system_tag> +struct base_unit_info<amount_dim,SI::system_tag> { static std::string name() { return "mole"; } static std::string symbol() { return "mol"; } }; template<> -struct base_unit_info<luminous_intensity_tag,SI::system_tag> +struct base_unit_info<luminous_intensity_dim,SI::system_tag> { static std::string name() { return "candela"; } static std::string symbol() { return "cd"; } }; template<> -struct base_unit_info<plane_angle_tag,SI::system_tag> +struct base_unit_info<plane_angle_dim,SI::system_tag> { static std::string name() { return "radian"; } static std::string symbol() { return "rad"; } }; template<> -struct base_unit_info<solid_angle_tag,SI::system_tag> +struct base_unit_info<solid_angle_dim,SI::system_tag> { static std::string name() { return "steradian"; } static std::string symbol() { return "sr"; } Index: inductance.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/inductance.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- inductance.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ inductance.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// inductance : L^2 M T^-2 C^-2 -typedef derived_dimension<length_tag,2,mass_tag,1,time_tag,-2,current_tag,-2>::type inductance_type; +typedef derived_dimension<length_dim,2,mass_dim,1,time_dim,-2,current_dim,-2>::type inductance_type; typedef unit<SI::inductance_type,SI::system> inductance; Index: magnetic_field_intensity.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/magnetic_field_intensity.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- magnetic_field_intensity.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ magnetic_field_intensity.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// magnetic field intensity : L^-1 C -typedef derived_dimension<length_tag,-1,current_tag,1>::type magnetic_field_intensity_type; +typedef derived_dimension<length_dim,-1,current_dim,1>::type magnetic_field_intensity_type; typedef unit<SI::magnetic_field_intensity_type,SI::system> magnetic_field_intensity; Index: magnetic_flux.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/magnetic_flux.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- magnetic_flux.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ magnetic_flux.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// magnetic flux : L^2 M T^-2 C^-1 -typedef derived_dimension<length_tag,2,mass_tag,1,time_tag,-2,current_tag,-1>::type magnetic_flux_type; +typedef derived_dimension<length_dim,2,mass_dim,1,time_dim,-2,current_dim,-1>::type magnetic_flux_type; typedef unit<SI::magnetic_flux_type,SI::system> magnetic_flux; Index: conductivity.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si/conductivity.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- conductivity.hpp 4 Apr 2007 19:53:54 -0000 1.2 +++ conductivity.hpp 10 Apr 2007 22:58:42 -0000 1.3 @@ -20,7 +20,7 @@ namespace SI { /// conductivity : L^-3 M^-1 T^3 C^2 -typedef derived_dimension<length_tag,-3,mass_tag,-1,time_tag,3,current_tag,2>::type conductivity_type; +typedef derived_dimension<length_dim,-3,mass_dim,-1,time_dim,3,current_dim,2>::type conductivity_type; typedef unit<SI::conductivity_type,SI::system> conductivity; |