catalytic_activity.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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_SI_CATALYTIC_ACTIVITY_HPP
  11. #define BOOST_UNITS_SI_CATALYTIC_ACTIVITY_HPP
  12. #include <boost/units/derived_dimension.hpp>
  13. #include <boost/units/systems/si/base.hpp>
  14. namespace boost {
  15. namespace units {
  16. namespace si {
  17. /// catalytic activity : T^-1 A^1
  18. typedef derived_dimension<time_base_dimension,-1,amount_base_dimension,1>::type catalytic_activity_dim;
  19. typedef unit<si::catalytic_activity_dim,si::system> catalytic_activity;
  20. BOOST_UNITS_STATIC_CONSTANT(katal,catalytic_activity);
  21. BOOST_UNITS_STATIC_CONSTANT(katals,catalytic_activity);
  22. } // namespace si
  23. } // namespace units
  24. } // namespace boost
  25. #endif // BOOST_UNITS_SI_CATALYTIC_ACTIVITY_HPP