]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | ||
11 | #ifndef BOOST_UNITS_SI_CATALYTIC_ACTIVITY_HPP | |
12 | #define BOOST_UNITS_SI_CATALYTIC_ACTIVITY_HPP | |
13 | ||
14 | #include <boost/units/derived_dimension.hpp> | |
15 | #include <boost/units/systems/si/base.hpp> | |
16 | ||
17 | namespace boost { | |
18 | ||
19 | namespace units { | |
20 | ||
21 | namespace si { | |
22 | ||
23 | /// catalytic activity : T^-1 A^1 | |
24 | typedef derived_dimension<time_base_dimension,-1,amount_base_dimension,1>::type catalytic_activity_dim; | |
25 | ||
26 | typedef unit<si::catalytic_activity_dim,si::system> catalytic_activity; | |
27 | ||
28 | BOOST_UNITS_STATIC_CONSTANT(katal,catalytic_activity); | |
29 | BOOST_UNITS_STATIC_CONSTANT(katals,catalytic_activity); | |
30 | ||
31 | } // namespace si | |
32 | ||
33 | } // namespace units | |
34 | ||
35 | } // namespace boost | |
36 | ||
37 | #endif // BOOST_UNITS_SI_CATALYTIC_ACTIVITY_HPP |