From 897f00f5e7d44aceeefa4110e7f9dbe6adcee6aa Mon Sep 17 00:00:00 2001 From: E Kawashima Date: Sun, 22 Jul 2018 05:25:46 +0900 Subject: [PATCH] add physical dimensions - amount_concentration - angular_frequency - charge_density - current_density - diffusion_coefficient - diffusion_flux - electric_field_intensity - electric_flux - electric_flux_density - entropy - heat_flux_density - magnetic_moment - mobility - molar_entropy - molar_mass - molar_volume - specific_entropy - thermal_resistance --- .../amount_concentration.hpp | 29 +++++++++++++++ .../physical_dimensions/angular_frequency.hpp | 29 +++++++++++++++ .../physical_dimensions/charge_density.hpp | 31 ++++++++++++++++ .../physical_dimensions/current_density.hpp | 29 +++++++++++++++ .../diffusion_coefficient.hpp | 29 +++++++++++++++ .../physical_dimensions/diffusion_flux.hpp | 31 ++++++++++++++++ .../electric_field_intensity.hpp | 33 +++++++++++++++++ .../physical_dimensions/electric_flux.hpp | 29 +++++++++++++++ .../electric_flux_density.hpp | 31 ++++++++++++++++ .../units/physical_dimensions/entropy.hpp | 33 +++++++++++++++++ .../physical_dimensions/heat_flux_density.hpp | 29 +++++++++++++++ .../physical_dimensions/magnetic_moment.hpp | 33 +++++++++++++++++ .../units/physical_dimensions/mobility.hpp | 30 ++++++++++++++++ .../physical_dimensions/molar_entropy.hpp | 35 +++++++++++++++++++ .../units/physical_dimensions/molar_mass.hpp | 29 +++++++++++++++ .../physical_dimensions/molar_volume.hpp | 29 +++++++++++++++ .../physical_dimensions/specific_entropy.hpp | 31 ++++++++++++++++ .../thermal_resistance.hpp | 33 +++++++++++++++++ include/boost/units/systems/si.hpp | 18 ++++++++++ .../units/systems/si/amount_concentration.hpp | 30 ++++++++++++++++ .../units/systems/si/angular_frequency.hpp | 30 ++++++++++++++++ .../boost/units/systems/si/charge_density.hpp | 30 ++++++++++++++++ .../units/systems/si/current_density.hpp | 30 ++++++++++++++++ .../systems/si/diffusion_coefficient.hpp | 30 ++++++++++++++++ .../boost/units/systems/si/diffusion_flux.hpp | 30 ++++++++++++++++ .../systems/si/electric_field_intensity.hpp | 30 ++++++++++++++++ .../boost/units/systems/si/electric_flux.hpp | 30 ++++++++++++++++ .../systems/si/electric_flux_density.hpp | 30 ++++++++++++++++ include/boost/units/systems/si/entropy.hpp | 30 ++++++++++++++++ .../units/systems/si/heat_flux_density.hpp | 30 ++++++++++++++++ .../units/systems/si/magnetic_moment.hpp | 30 ++++++++++++++++ include/boost/units/systems/si/mobility.hpp | 30 ++++++++++++++++ .../boost/units/systems/si/molar_entropy.hpp | 30 ++++++++++++++++ include/boost/units/systems/si/molar_mass.hpp | 30 ++++++++++++++++ .../boost/units/systems/si/molar_volume.hpp | 30 ++++++++++++++++ .../units/systems/si/specific_entropy.hpp | 30 ++++++++++++++++ .../units/systems/si/thermal_resistance.hpp | 30 ++++++++++++++++ 37 files changed, 1111 insertions(+) create mode 100644 include/boost/units/physical_dimensions/amount_concentration.hpp create mode 100644 include/boost/units/physical_dimensions/angular_frequency.hpp create mode 100644 include/boost/units/physical_dimensions/charge_density.hpp create mode 100644 include/boost/units/physical_dimensions/current_density.hpp create mode 100644 include/boost/units/physical_dimensions/diffusion_coefficient.hpp create mode 100644 include/boost/units/physical_dimensions/diffusion_flux.hpp create mode 100644 include/boost/units/physical_dimensions/electric_field_intensity.hpp create mode 100644 include/boost/units/physical_dimensions/electric_flux.hpp create mode 100644 include/boost/units/physical_dimensions/electric_flux_density.hpp create mode 100644 include/boost/units/physical_dimensions/entropy.hpp create mode 100644 include/boost/units/physical_dimensions/heat_flux_density.hpp create mode 100644 include/boost/units/physical_dimensions/magnetic_moment.hpp create mode 100644 include/boost/units/physical_dimensions/mobility.hpp create mode 100644 include/boost/units/physical_dimensions/molar_entropy.hpp create mode 100644 include/boost/units/physical_dimensions/molar_mass.hpp create mode 100644 include/boost/units/physical_dimensions/molar_volume.hpp create mode 100644 include/boost/units/physical_dimensions/specific_entropy.hpp create mode 100644 include/boost/units/physical_dimensions/thermal_resistance.hpp create mode 100644 include/boost/units/systems/si/amount_concentration.hpp create mode 100644 include/boost/units/systems/si/angular_frequency.hpp create mode 100644 include/boost/units/systems/si/charge_density.hpp create mode 100644 include/boost/units/systems/si/current_density.hpp create mode 100644 include/boost/units/systems/si/diffusion_coefficient.hpp create mode 100644 include/boost/units/systems/si/diffusion_flux.hpp create mode 100644 include/boost/units/systems/si/electric_field_intensity.hpp create mode 100644 include/boost/units/systems/si/electric_flux.hpp create mode 100644 include/boost/units/systems/si/electric_flux_density.hpp create mode 100644 include/boost/units/systems/si/entropy.hpp create mode 100644 include/boost/units/systems/si/heat_flux_density.hpp create mode 100644 include/boost/units/systems/si/magnetic_moment.hpp create mode 100644 include/boost/units/systems/si/mobility.hpp create mode 100644 include/boost/units/systems/si/molar_entropy.hpp create mode 100644 include/boost/units/systems/si/molar_mass.hpp create mode 100644 include/boost/units/systems/si/molar_volume.hpp create mode 100644 include/boost/units/systems/si/specific_entropy.hpp create mode 100644 include/boost/units/systems/si/thermal_resistance.hpp diff --git a/include/boost/units/physical_dimensions/amount_concentration.hpp b/include/boost/units/physical_dimensions/amount_concentration.hpp new file mode 100644 index 00000000..c1619d3d --- /dev/null +++ b/include/boost/units/physical_dimensions/amount_concentration.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_AMOUNT_CONCENTRATION_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_AMOUNT_CONCENTRATION_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for amount concentration : L^-3 N +typedef derived_dimension::type amount_concentration_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_AMOUNT_CONCENTRATION_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/angular_frequency.hpp b/include/boost/units/physical_dimensions/angular_frequency.hpp new file mode 100644 index 00000000..29a53d47 --- /dev/null +++ b/include/boost/units/physical_dimensions/angular_frequency.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_ANGULAR_FREQUENCY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_ANGULAR_FREQUENCY_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for angular frequency : T^-1 QP +typedef derived_dimension::type angular_frequency_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_ANGULAR_FREQUENCY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/charge_density.hpp b/include/boost/units/physical_dimensions/charge_density.hpp new file mode 100644 index 00000000..707b7041 --- /dev/null +++ b/include/boost/units/physical_dimensions/charge_density.hpp @@ -0,0 +1,31 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_CHARGE_DENSITY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_CHARGE_DENSITY_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for charge density : L^-3 T I +typedef derived_dimension::type charge_density_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_CHARGE_DENSITY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/current_density.hpp b/include/boost/units/physical_dimensions/current_density.hpp new file mode 100644 index 00000000..1f5d3a29 --- /dev/null +++ b/include/boost/units/physical_dimensions/current_density.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_CURRENT_DENSITY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_CURRENT_DENSITY_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for current density : L^-2 I +typedef derived_dimension::type current_density_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_CURRENT_DENSITY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/diffusion_coefficient.hpp b/include/boost/units/physical_dimensions/diffusion_coefficient.hpp new file mode 100644 index 00000000..69f6f05c --- /dev/null +++ b/include/boost/units/physical_dimensions/diffusion_coefficient.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_DIFFUSION_COEFFICIENT_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_DIFFUSION_COEFFICIENT_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for diffusion coefficient : L^2 T^-1 +typedef derived_dimension::type diffusion_coefficient_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_DIFFUSION_COEFFICIENT_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/diffusion_flux.hpp b/include/boost/units/physical_dimensions/diffusion_flux.hpp new file mode 100644 index 00000000..33025389 --- /dev/null +++ b/include/boost/units/physical_dimensions/diffusion_flux.hpp @@ -0,0 +1,31 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_DIFFUSION_FLUX_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_DIFFUSION_FLUX_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for diffusion flux : L^-2 T^-1 N +typedef derived_dimension::type diffusion_flux_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_DIFFUSION_FLUX_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/electric_field_intensity.hpp b/include/boost/units/physical_dimensions/electric_field_intensity.hpp new file mode 100644 index 00000000..d40e18b5 --- /dev/null +++ b/include/boost/units/physical_dimensions/electric_field_intensity.hpp @@ -0,0 +1,33 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_ELECTRIC_FIELD_INTENSITY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_ELECTRIC_FIELD_INTENSITY_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for electric field intensity : L M T^-3 I^-1 +typedef derived_dimension::type electric_field_intensity_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_ELECTRIC_FIELD_INTENSITY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/electric_flux.hpp b/include/boost/units/physical_dimensions/electric_flux.hpp new file mode 100644 index 00000000..d7fee6d0 --- /dev/null +++ b/include/boost/units/physical_dimensions/electric_flux.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_ELECTRIC_FLUX_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_ELECTRIC_FLUX_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for electric flux : T I +typedef derived_dimension::type electric_flux_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_ELECTRIC_FLUX_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/electric_flux_density.hpp b/include/boost/units/physical_dimensions/electric_flux_density.hpp new file mode 100644 index 00000000..f46a91b4 --- /dev/null +++ b/include/boost/units/physical_dimensions/electric_flux_density.hpp @@ -0,0 +1,31 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_ELECTRIC_FLUX_DENSITY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_ELECTRIC_FLUX_DENSITY_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for electric flux density : L^-2 T I +typedef derived_dimension::type electric_flux_density_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_ELECTRIC_FLUX_DENSITY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/entropy.hpp b/include/boost/units/physical_dimensions/entropy.hpp new file mode 100644 index 00000000..cc1f72e5 --- /dev/null +++ b/include/boost/units/physical_dimensions/entropy.hpp @@ -0,0 +1,33 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_ENTROPY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_ENTROPY_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for entropy : L^2 M T^-2 Theta^-1 +typedef derived_dimension::type entropy_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_ENTROPY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/heat_flux_density.hpp b/include/boost/units/physical_dimensions/heat_flux_density.hpp new file mode 100644 index 00000000..c5b46565 --- /dev/null +++ b/include/boost/units/physical_dimensions/heat_flux_density.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_HEAT_FLUX_DENSITY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_HEAT_FLUX_DENSITY_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for heat flux density : M T^-3 +typedef derived_dimension::type heat_flux_density_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_HEAT_FLUX_DENSITY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/magnetic_moment.hpp b/include/boost/units/physical_dimensions/magnetic_moment.hpp new file mode 100644 index 00000000..c99a903f --- /dev/null +++ b/include/boost/units/physical_dimensions/magnetic_moment.hpp @@ -0,0 +1,33 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_MAGNETIC_MOMENT_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_MAGNETIC_MOMENT_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for magnetic moment : L^3 M T^-2 I^-1 +typedef derived_dimension::type magnetic_moment_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_MAGNETIC_MOMENT_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/mobility.hpp b/include/boost/units/physical_dimensions/mobility.hpp new file mode 100644 index 00000000..e71c8887 --- /dev/null +++ b/include/boost/units/physical_dimensions/mobility.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_MOBILITY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_MOBILITY_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include + +namespace boost { + +namespace units { +/// derived dimension for mobility : M^-1 T^2 I +typedef derived_dimension::type mobility_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_MOBILITY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/molar_entropy.hpp b/include/boost/units/physical_dimensions/molar_entropy.hpp new file mode 100644 index 00000000..39a2f0fa --- /dev/null +++ b/include/boost/units/physical_dimensions/molar_entropy.hpp @@ -0,0 +1,35 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_MOLAR_ENTROPY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_MOLAR_ENTROPY_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for molar entropy : L^2 M T^-2 Theta^-1 N^-1 +typedef derived_dimension::type molar_entropy_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_MOLAR_ENTROPY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/molar_mass.hpp b/include/boost/units/physical_dimensions/molar_mass.hpp new file mode 100644 index 00000000..b6810df5 --- /dev/null +++ b/include/boost/units/physical_dimensions/molar_mass.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_MOLAR_MASS_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_MOLAR_MASS_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for molar mass : M N^-1 +typedef derived_dimension::type molar_mass_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_MOLAR_MASS_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/molar_volume.hpp b/include/boost/units/physical_dimensions/molar_volume.hpp new file mode 100644 index 00000000..6bd5017c --- /dev/null +++ b/include/boost/units/physical_dimensions/molar_volume.hpp @@ -0,0 +1,29 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_MOLAR_VOLUME_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_MOLAR_VOLUME_DERIVED_DIMENSION_HPP + +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for molar volume : L^3 N^-1 +typedef derived_dimension::type molar_volume_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_MOLAR_VOLUME_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/specific_entropy.hpp b/include/boost/units/physical_dimensions/specific_entropy.hpp new file mode 100644 index 00000000..d413738a --- /dev/null +++ b/include/boost/units/physical_dimensions/specific_entropy.hpp @@ -0,0 +1,31 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SPECIFIC_ENTROPY_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_SPECIFIC_ENTROPY_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for specific entropy : L^2 T^-2 Theta^-1 +typedef derived_dimension::type specific_entropy_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SPECIFIC_ENTROPY_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/physical_dimensions/thermal_resistance.hpp b/include/boost/units/physical_dimensions/thermal_resistance.hpp new file mode 100644 index 00000000..3b93cec6 --- /dev/null +++ b/include/boost/units/physical_dimensions/thermal_resistance.hpp @@ -0,0 +1,33 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_THERMAL_RESISTANCE_DERIVED_DIMENSION_HPP +#define BOOST_UNITS_THERMAL_RESISTANCE_DERIVED_DIMENSION_HPP + +#include +#include +#include +#include +#include + +namespace boost { + +namespace units { + +/// derived dimension for thermal resistance : L^-2 M^-1 T^3 Theta +typedef derived_dimension::type thermal_resistance_dimension; + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_THERMAL_RESISTANCE_DERIVED_DIMENSION_HPP diff --git a/include/boost/units/systems/si.hpp b/include/boost/units/systems/si.hpp index 727982b4..dd257e78 100644 --- a/include/boost/units/systems/si.hpp +++ b/include/boost/units/systems/si.hpp @@ -25,23 +25,34 @@ #include #include #include +#include #include +#include #include #include #include #include #include +#include #include #include #include +#include +#include +#include #include #include #include #include +#include +#include +#include #include #include +#include #include #include +#include #include #include #include @@ -52,8 +63,13 @@ #include #include #include +#include #include #include +#include +#include +#include +#include #include #include #include @@ -65,9 +81,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include diff --git a/include/boost/units/systems/si/amount_concentration.hpp b/include/boost/units/systems/si/amount_concentration.hpp new file mode 100644 index 00000000..5502c3f6 --- /dev/null +++ b/include/boost/units/systems/si/amount_concentration.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_AMOUNT_CONCENTRATION_HPP +#define BOOST_UNITS_SI_AMOUNT_CONCENTRATION_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit amount_concentration; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_AMOUNT_CONCENTRATION_HPP diff --git a/include/boost/units/systems/si/angular_frequency.hpp b/include/boost/units/systems/si/angular_frequency.hpp new file mode 100644 index 00000000..6cdfc737 --- /dev/null +++ b/include/boost/units/systems/si/angular_frequency.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_ANGULAR_FREQUENCY_HPP +#define BOOST_UNITS_SI_ANGULAR_FREQUENCY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit angular_frequency; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_ANGULAR_FREQUENCY_HPP diff --git a/include/boost/units/systems/si/charge_density.hpp b/include/boost/units/systems/si/charge_density.hpp new file mode 100644 index 00000000..d29aab8a --- /dev/null +++ b/include/boost/units/systems/si/charge_density.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_CHARGE_DENSITY_HPP +#define BOOST_UNITS_SI_CHARGE_DENSITY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit charge_density; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_CHARGE_DENSITY_HPP diff --git a/include/boost/units/systems/si/current_density.hpp b/include/boost/units/systems/si/current_density.hpp new file mode 100644 index 00000000..e2ad5b45 --- /dev/null +++ b/include/boost/units/systems/si/current_density.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_CURRENT_DENSITY_HPP +#define BOOST_UNITS_SI_CURRENT_DENSITY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit current_density; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_CURRENT_DENSITY_HPP diff --git a/include/boost/units/systems/si/diffusion_coefficient.hpp b/include/boost/units/systems/si/diffusion_coefficient.hpp new file mode 100644 index 00000000..e6ac606f --- /dev/null +++ b/include/boost/units/systems/si/diffusion_coefficient.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_DIFFUSION_COEFFICIENT_HPP +#define BOOST_UNITS_SI_DIFFUSION_COEFFICIENT_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit diffusion_coefficient; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_DIFFUSION_COEFFICIENT_HPP diff --git a/include/boost/units/systems/si/diffusion_flux.hpp b/include/boost/units/systems/si/diffusion_flux.hpp new file mode 100644 index 00000000..ea72b0c7 --- /dev/null +++ b/include/boost/units/systems/si/diffusion_flux.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_DIFFUSION_FLUX_HPP +#define BOOST_UNITS_SI_DIFFUSION_FLUX_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit diffusion_flux; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_DIFFUSION_FLUX_HPP diff --git a/include/boost/units/systems/si/electric_field_intensity.hpp b/include/boost/units/systems/si/electric_field_intensity.hpp new file mode 100644 index 00000000..3c20aa3d --- /dev/null +++ b/include/boost/units/systems/si/electric_field_intensity.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_ELECTRIC_FIELD_INTENSITY_HPP +#define BOOST_UNITS_SI_ELECTRIC_FIELD_INTENSITY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit electric_field_intensity; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_ELECTRIC_FIELD_INTENSITY_HPP diff --git a/include/boost/units/systems/si/electric_flux.hpp b/include/boost/units/systems/si/electric_flux.hpp new file mode 100644 index 00000000..260b3475 --- /dev/null +++ b/include/boost/units/systems/si/electric_flux.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_ELECTRIC_FLUX_HPP +#define BOOST_UNITS_SI_ELECTRIC_FLUX_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit electric_flux; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_ELECTRIC_FLUX_HPP diff --git a/include/boost/units/systems/si/electric_flux_density.hpp b/include/boost/units/systems/si/electric_flux_density.hpp new file mode 100644 index 00000000..07b406c8 --- /dev/null +++ b/include/boost/units/systems/si/electric_flux_density.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_ELECTRIC_FLUX_DENSITY_HPP +#define BOOST_UNITS_SI_ELECTRIC_FLUX_DENSITY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit electric_flux_density; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_ELECTRIC_FLUX_DENSITY_HPP diff --git a/include/boost/units/systems/si/entropy.hpp b/include/boost/units/systems/si/entropy.hpp new file mode 100644 index 00000000..8b42fd7f --- /dev/null +++ b/include/boost/units/systems/si/entropy.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_ENTROPY_HPP +#define BOOST_UNITS_SI_ENTROPY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit entropy; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_ENTROPY_HPP diff --git a/include/boost/units/systems/si/heat_flux_density.hpp b/include/boost/units/systems/si/heat_flux_density.hpp new file mode 100644 index 00000000..fcef4563 --- /dev/null +++ b/include/boost/units/systems/si/heat_flux_density.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_HEAT_FLUX_DENSITY_HPP +#define BOOST_UNITS_SI_HEAT_FLUX_DENSITY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit heat_flux_density; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_HEAT_FLUX_DENSITY_HPP diff --git a/include/boost/units/systems/si/magnetic_moment.hpp b/include/boost/units/systems/si/magnetic_moment.hpp new file mode 100644 index 00000000..97bd358e --- /dev/null +++ b/include/boost/units/systems/si/magnetic_moment.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_MAGNETIC_MOMENT_HPP +#define BOOST_UNITS_SI_MAGNETIC_MOMENT_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit magnetic_moment; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_MAGNETIC_MOMENT_HPP diff --git a/include/boost/units/systems/si/mobility.hpp b/include/boost/units/systems/si/mobility.hpp new file mode 100644 index 00000000..6d8e5ef2 --- /dev/null +++ b/include/boost/units/systems/si/mobility.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_MOBILITY_HPP +#define BOOST_UNITS_SI_MOBILITY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit mobility; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_MOBILITY_HPP diff --git a/include/boost/units/systems/si/molar_entropy.hpp b/include/boost/units/systems/si/molar_entropy.hpp new file mode 100644 index 00000000..37e9acbf --- /dev/null +++ b/include/boost/units/systems/si/molar_entropy.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_MOLAR_ENTROPY_HPP +#define BOOST_UNITS_SI_MOLAR_ENTROPY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit molar_entropy; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_MOLAR_ENTROPY_HPP diff --git a/include/boost/units/systems/si/molar_mass.hpp b/include/boost/units/systems/si/molar_mass.hpp new file mode 100644 index 00000000..d8fc4bd4 --- /dev/null +++ b/include/boost/units/systems/si/molar_mass.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_MOLAR_MASS_HPP +#define BOOST_UNITS_SI_MOLAR_MASS_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit molar_mass; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_MOLAR_MASS_HPP diff --git a/include/boost/units/systems/si/molar_volume.hpp b/include/boost/units/systems/si/molar_volume.hpp new file mode 100644 index 00000000..25d8579e --- /dev/null +++ b/include/boost/units/systems/si/molar_volume.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_MOLAR_VOLUME_HPP +#define BOOST_UNITS_SI_MOLAR_VOLUME_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit molar_volume; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_MOLAR_VOLUME_HPP diff --git a/include/boost/units/systems/si/specific_entropy.hpp b/include/boost/units/systems/si/specific_entropy.hpp new file mode 100644 index 00000000..11ac9622 --- /dev/null +++ b/include/boost/units/systems/si/specific_entropy.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_SPECIFIC_ENTROPY_HPP +#define BOOST_UNITS_SI_SPECIFIC_ENTROPY_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit specific_entropy; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_SPECIFIC_ENTROPY_HPP diff --git a/include/boost/units/systems/si/thermal_resistance.hpp b/include/boost/units/systems/si/thermal_resistance.hpp new file mode 100644 index 00000000..3bc85bfc --- /dev/null +++ b/include/boost/units/systems/si/thermal_resistance.hpp @@ -0,0 +1,30 @@ +// Boost.Units - A C++ library for zero-overhead dimensional analysis and +// unit/quantity manipulation and conversion +// +// Copyright (C) 2018 Eisuke Kawashima +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UNITS_SI_THERMAL_RESISTANCE_HPP +#define BOOST_UNITS_SI_THERMAL_RESISTANCE_HPP + +#include +#include + +namespace boost { + +namespace units { + +namespace si { + +typedef unit thermal_resistance; + +} // namespace si + +} // namespace units + +} // namespace boost + +#endif // BOOST_UNITS_SI_THERMAL_RESISTANCE_HPP