|
From: Matthias S. <mat...@us...> - 2007-04-02 20:12:53
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7108 Modified Files: cgs.hpp physical_units.hpp si.hpp Log Message: initial implementation of fahrenheit and celsius temperature (not tested yet) Index: cgs.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/cgs.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- cgs.hpp 31 Mar 2007 01:17:17 -0000 1.5 +++ cgs.hpp 2 Apr 2007 20:12:51 -0000 1.6 @@ -35,6 +35,7 @@ #include <boost/units/systems/cgs/power.hpp> #include <boost/units/systems/cgs/pressure.hpp> #include <boost/units/systems/cgs/velocity.hpp> +#include <boost/units/systems/cgs/viscosity.hpp> #include <boost/units/systems/cgs/volume.hpp> #include <boost/units/systems/cgs/wavenumber.hpp> Index: si.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/si.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- si.hpp 31 Mar 2007 01:17:17 -0000 1.5 +++ si.hpp 2 Apr 2007 20:12:51 -0000 1.6 @@ -38,6 +38,7 @@ #include <boost/units/systems/si/power.hpp> #include <boost/units/systems/si/pressure.hpp> #include <boost/units/systems/si/velocity.hpp> +#include <boost/units/systems/si/viscosity.hpp> #include <boost/units/systems/si/volume.hpp> #include <boost/units/systems/si/capacitance.hpp> Index: physical_units.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/systems/physical_units.hpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- physical_units.hpp 29 Mar 2007 19:10:39 -0000 1.3 +++ physical_units.hpp 2 Apr 2007 20:12:51 -0000 1.4 @@ -138,6 +138,9 @@ /// composite dimension for velocity : L T^-1 typedef composite_dimension<length_tag,1,time_tag,-1>::type velocity_type; +/// composite dimension for viscosity : M L^-1 T^-1 +typedef composite_dimension<mass_tag,1,length_tag,-1,time_tag,-1>::type viscosity_type; + /// composite dimension for volume : l^3 typedef composite_dimension<length_tag,3>::type volume_type; |