impedance.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. // Boost.Units - A C++ library for zero-overhead dimensional analysis and
  2. // unit/quantity manipulation and conversion
  3. //
  4. // Copyright (C) 2003-2008 Matthias Christian Schabel
  5. // Copyright (C) 2008 Steven Watanabe
  6. //
  7. // Distributed under the Boost Software License, Version 1.0. (See
  8. // accompanying file LICENSE_1_0.txt or copy at
  9. // http://www.boost.org/LICENSE_1_0.txt)
  10. #ifndef BOOST_UNITS_IMPEDANCE_DERIVED_DIMENSION_HPP
  11. #define BOOST_UNITS_IMPEDANCE_DERIVED_DIMENSION_HPP
  12. #include <boost/units/derived_dimension.hpp>
  13. #include <boost/units/physical_dimensions/length.hpp>
  14. #include <boost/units/physical_dimensions/mass.hpp>
  15. #include <boost/units/physical_dimensions/time.hpp>
  16. #include <boost/units/physical_dimensions/current.hpp>
  17. namespace boost {
  18. namespace units {
  19. /// derived dimension for impedance : L^2 M T^-3 I^-2
  20. typedef derived_dimension<length_base_dimension,2,
  21. mass_base_dimension,1,
  22. time_base_dimension,-3,
  23. current_base_dimension,-2>::type impedance_dimension;
  24. } // namespace units
  25. } // namespace boost
  26. #endif // BOOST_UNITS_IMPEDANCE_DERIVED_DIMENSION_HPP