• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_MOLAR_HEAT_CAPACITY_DERIVED_DIMENSION_HPP
12 #define BOOST_UNITS_MOLAR_HEAT_CAPACITY_DERIVED_DIMENSION_HPP
13 
14 #include <boost/units/derived_dimension.hpp>
15 #include <boost/units/physical_dimensions/length.hpp>
16 #include <boost/units/physical_dimensions/mass.hpp>
17 #include <boost/units/physical_dimensions/time.hpp>
18 #include <boost/units/physical_dimensions/temperature.hpp>
19 #include <boost/units/physical_dimensions/amount.hpp>
20 
21 namespace boost {
22 
23 namespace units {
24 
25 /// derived dimension for molar heat capacity : L^2 M T^-2 Theta^-1 N^-1
26 typedef derived_dimension<length_base_dimension,2,
27                           mass_base_dimension,1,
28                           time_base_dimension,-2,
29                           temperature_base_dimension,-1,
30                           amount_base_dimension,-1>::type molar_heat_capacity_dimension;
31 
32 } // namespace units
33 
34 } // namespace boost
35 
36 #endif // BOOST_UNITS_MOLAR_HEAT_CAPACITY_DERIVED_DIMENSION_HPP
37