|
Boost-Commit : |
From: boost_at_[hidden]
Date: 2008-05-26 15:57:48
Author: matthiasschabel
Date: 2008-05-26 15:57:48 EDT (Mon, 26 May 2008)
New Revision: 45789
URL: http://svn.boost.org/trac/boost/changeset/45789
Log:
remove electric_potential from cgs - we're not supporting cgs units of EM because of complexities stemming from multiple divergent formulations
Text files modified:
sandbox/units/boost/units/systems/cgs.hpp | 5 ++---
sandbox/units/boost/units/systems/cgs/io.hpp | 4 ----
2 files changed, 2 insertions(+), 7 deletions(-)
Modified: sandbox/units/boost/units/systems/cgs.hpp
==============================================================================
--- sandbox/units/boost/units/systems/cgs.hpp (original)
+++ sandbox/units/boost/units/systems/cgs.hpp 2008-05-26 15:57:48 EDT (Mon, 26 May 2008)
@@ -28,9 +28,11 @@
#include <boost/units/systems/cgs/acceleration.hpp>
#include <boost/units/systems/cgs/area.hpp>
#include <boost/units/systems/cgs/current.hpp>
+#include <boost/units/systems/cgs/dynamic_viscosity.hpp>
#include <boost/units/systems/cgs/energy.hpp>
#include <boost/units/systems/cgs/force.hpp>
#include <boost/units/systems/cgs/frequency.hpp>
+#include <boost/units/systems/cgs/kinematic_viscosity.hpp>
#include <boost/units/systems/cgs/mass_density.hpp>
#include <boost/units/systems/cgs/momentum.hpp>
#include <boost/units/systems/cgs/power.hpp>
@@ -39,7 +41,4 @@
#include <boost/units/systems/cgs/volume.hpp>
#include <boost/units/systems/cgs/wavenumber.hpp>
-#include <boost/units/systems/cgs/dynamic_viscosity.hpp>
-#include <boost/units/systems/cgs/kinematic_viscosity.hpp>
-
#endif // BOOST_UNITS_CGS_HPP
Modified: sandbox/units/boost/units/systems/cgs/io.hpp
==============================================================================
--- sandbox/units/boost/units/systems/cgs/io.hpp (original)
+++ sandbox/units/boost/units/systems/cgs/io.hpp 2008-05-26 15:57:48 EDT (Mon, 26 May 2008)
@@ -13,7 +13,6 @@
#include <boost/units/io.hpp>
#include <boost/units/systems/cgs.hpp>
-#include <boost/units/physical_dimensions/electric_potential.hpp>
namespace boost {
@@ -28,9 +27,6 @@
inline std::string name_string(const cgs::dynamic_viscosity&) { return "poise"; }
inline std::string symbol_string(const cgs::dynamic_viscosity&) { return "P"; }
-inline std::string name_string(const unit<electric_potential_type, cgs::system>&) { return "volt"; }
-inline std::string symbol_string(const unit<electric_potential_type, cgs::system>&) { return "V"; }
-
inline std::string name_string(const cgs::energy&) { return "erg"; }
inline std::string symbol_string(const cgs::energy&) { return "erg"; }
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