Added boost header
This commit is contained in:
34
test/external/boost/units/systems/cgs/acceleration.hpp
vendored
Normal file
34
test/external/boost/units/systems/cgs/acceleration.hpp
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_ACCELERATION_HPP
|
||||
#define BOOST_UNITS_CGS_ACCELERATION_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/acceleration.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<acceleration_dimension,cgs::system> acceleration;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(gal,acceleration);
|
||||
BOOST_UNITS_STATIC_CONSTANT(gals,acceleration);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_ACCELERATION_HPP
|
||||
36
test/external/boost/units/systems/cgs/area.hpp
vendored
Normal file
36
test/external/boost/units/systems/cgs/area.hpp
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_AREA_HPP
|
||||
#define BOOST_UNITS_CGS_AREA_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/area.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<area_dimension,cgs::system> area;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(square_centimeter,area);
|
||||
BOOST_UNITS_STATIC_CONSTANT(square_centimeters,area);
|
||||
BOOST_UNITS_STATIC_CONSTANT(square_centimetre,area);
|
||||
BOOST_UNITS_STATIC_CONSTANT(square_centimetres,area);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_AREA_HPP
|
||||
46
test/external/boost/units/systems/cgs/base.hpp
vendored
Normal file
46
test/external/boost/units/systems/cgs/base.hpp
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_BASE_HPP
|
||||
#define BOOST_UNITS_CGS_BASE_HPP
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <boost/units/static_constant.hpp>
|
||||
#include <boost/units/unit.hpp>
|
||||
#include <boost/units/make_system.hpp>
|
||||
|
||||
#include <boost/units/base_units/cgs/centimeter.hpp>
|
||||
#include <boost/units/base_units/cgs/gram.hpp>
|
||||
#include <boost/units/base_units/si/second.hpp>
|
||||
#include <boost/units/base_units/cgs/biot.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
/// placeholder class defining cgs unit system
|
||||
typedef make_system<centimeter_base_unit,
|
||||
gram_base_unit,
|
||||
boost::units::si::second_base_unit,
|
||||
biot_base_unit>::type system;
|
||||
|
||||
/// various unit typedefs for convenience
|
||||
typedef unit<dimensionless_type,system> dimensionless;
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_BASE_HPP
|
||||
33
test/external/boost/units/systems/cgs/current.hpp
vendored
Normal file
33
test/external/boost/units/systems/cgs/current.hpp
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_CURRENT_HPP
|
||||
#define BOOST_UNITS_CGS_CURRENT_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<current_dimension,cgs::system> current;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(biot,current);
|
||||
BOOST_UNITS_STATIC_CONSTANT(biots,current);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_CURRENT_HPP
|
||||
30
test/external/boost/units/systems/cgs/dimensionless.hpp
vendored
Normal file
30
test/external/boost/units/systems/cgs/dimensionless.hpp
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_DIMENSIONLESS_HPP
|
||||
#define BOOST_UNITS_CGS_DIMENSIONLESS_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(cgs_dimensionless,dimensionless);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_DIMENSIONLESS_HPP
|
||||
33
test/external/boost/units/systems/cgs/dynamic_viscosity.hpp
vendored
Normal file
33
test/external/boost/units/systems/cgs/dynamic_viscosity.hpp
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_DYNAMIC_VISCOSITY_HPP
|
||||
#define BOOST_UNITS_CGS_DYNAMIC_VISCOSITY_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/dynamic_viscosity.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<dynamic_viscosity_dimension,cgs::system> dynamic_viscosity;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(poise,dynamic_viscosity);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_DYNAMIC_VISCOSITY_HPP
|
||||
34
test/external/boost/units/systems/cgs/energy.hpp
vendored
Normal file
34
test/external/boost/units/systems/cgs/energy.hpp
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_ENERGY_HPP
|
||||
#define BOOST_UNITS_CGS_ENERGY_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/energy.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<energy_dimension,cgs::system> energy;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(erg,energy);
|
||||
BOOST_UNITS_STATIC_CONSTANT(ergs,energy);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_ENERGY_HPP
|
||||
34
test/external/boost/units/systems/cgs/force.hpp
vendored
Normal file
34
test/external/boost/units/systems/cgs/force.hpp
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_FORCE_HPP
|
||||
#define BOOST_UNITS_CGS_FORCE_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/force.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<force_dimension,cgs::system> force;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(dyne,force);
|
||||
BOOST_UNITS_STATIC_CONSTANT(dynes,force);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_FORCE_HPP
|
||||
31
test/external/boost/units/systems/cgs/frequency.hpp
vendored
Normal file
31
test/external/boost/units/systems/cgs/frequency.hpp
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_FREQUENCY_HPP
|
||||
#define BOOST_UNITS_CGS_FREQUENCY_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/frequency.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<frequency_dimension,cgs::system> frequency;
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_FREQUENCY_HPP
|
||||
50
test/external/boost/units/systems/cgs/io.hpp
vendored
Normal file
50
test/external/boost/units/systems/cgs/io.hpp
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_IO_HPP
|
||||
#define BOOST_UNITS_CGS_IO_HPP
|
||||
|
||||
#include <boost/units/io.hpp>
|
||||
#include <boost/units/reduce_unit.hpp>
|
||||
#include <boost/units/systems/cgs.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::acceleration>::type&) { return "galileo"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::acceleration>::type&) { return "Gal"; }
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::current>::type&) { return "biot"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::current>::type&) { return "Bi"; }
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::dynamic_viscosity>::type&) { return "poise"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::dynamic_viscosity>::type&) { return "P"; }
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::energy>::type&) { return "erg"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::energy>::type&) { return "erg"; }
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::force>::type&) { return "dyne"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::force>::type&) { return "dyn"; }
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::kinematic_viscosity>::type&) { return "stoke"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::kinematic_viscosity>::type&) { return "St"; }
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::pressure>::type&) { return "barye"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::pressure>::type&) { return "Ba"; }
|
||||
|
||||
inline std::string name_string(const reduce_unit<cgs::wavenumber>::type&) { return "kayser"; }
|
||||
inline std::string symbol_string(const reduce_unit<cgs::wavenumber>::type&) { return "K"; }
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_IO_HPP
|
||||
34
test/external/boost/units/systems/cgs/kinematic_viscosity.hpp
vendored
Normal file
34
test/external/boost/units/systems/cgs/kinematic_viscosity.hpp
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_KINEMATIC_VISCOSITY_HPP
|
||||
#define BOOST_UNITS_CGS_KINEMATIC_VISCOSITY_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/kinematic_viscosity.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<kinematic_viscosity_dimension,cgs::system> kinematic_viscosity;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(stoke,kinematic_viscosity);
|
||||
BOOST_UNITS_STATIC_CONSTANT(stokes,kinematic_viscosity);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_KINEMATIC_VISCOSITY_HPP
|
||||
35
test/external/boost/units/systems/cgs/length.hpp
vendored
Normal file
35
test/external/boost/units/systems/cgs/length.hpp
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_LENGTH_HPP
|
||||
#define BOOST_UNITS_CGS_LENGTH_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<length_dimension,cgs::system> length;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimeter,length);
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimeters,length);
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimetre,length);
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimetres,length);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_LENGTH_HPP
|
||||
36
test/external/boost/units/systems/cgs/mass.hpp
vendored
Normal file
36
test/external/boost/units/systems/cgs/mass.hpp
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_MASS_HPP
|
||||
#define BOOST_UNITS_CGS_MASS_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<mass_dimension,cgs::system> mass;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(gram,mass);
|
||||
BOOST_UNITS_STATIC_CONSTANT(grams,mass);
|
||||
BOOST_UNITS_STATIC_CONSTANT(gramme,mass);
|
||||
BOOST_UNITS_STATIC_CONSTANT(grammes,mass);
|
||||
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_MASS_HPP
|
||||
31
test/external/boost/units/systems/cgs/mass_density.hpp
vendored
Normal file
31
test/external/boost/units/systems/cgs/mass_density.hpp
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_MASS_DENSITY_HPP
|
||||
#define BOOST_UNITS_CGS_MASS_DENSITY_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/mass_density.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<mass_density_dimension,cgs::system> mass_density;
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_MASS_DENSITY_HPP
|
||||
31
test/external/boost/units/systems/cgs/momentum.hpp
vendored
Normal file
31
test/external/boost/units/systems/cgs/momentum.hpp
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_MOMENTUM_HPP
|
||||
#define BOOST_UNITS_CGS_MOMENTUM_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/momentum.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<momentum_dimension,cgs::system> momentum;
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_MOMENTUM_HPP
|
||||
31
test/external/boost/units/systems/cgs/power.hpp
vendored
Normal file
31
test/external/boost/units/systems/cgs/power.hpp
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_POWER_HPP
|
||||
#define BOOST_UNITS_CGS_POWER_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/power.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<power_dimension,cgs::system> power;
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_POWER_HPP
|
||||
34
test/external/boost/units/systems/cgs/pressure.hpp
vendored
Normal file
34
test/external/boost/units/systems/cgs/pressure.hpp
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_PRESSURE_HPP
|
||||
#define BOOST_UNITS_CGS_PRESSURE_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/pressure.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<pressure_dimension,cgs::system> pressure;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(barye,pressure);
|
||||
BOOST_UNITS_STATIC_CONSTANT(baryes,pressure);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_PRESSURE_HPP
|
||||
33
test/external/boost/units/systems/cgs/time.hpp
vendored
Normal file
33
test/external/boost/units/systems/cgs/time.hpp
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_TIME_HPP
|
||||
#define BOOST_UNITS_CGS_TIME_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<time_dimension,cgs::system> time;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(second,time);
|
||||
BOOST_UNITS_STATIC_CONSTANT(seconds,time);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_TIME_HPP
|
||||
36
test/external/boost/units/systems/cgs/velocity.hpp
vendored
Normal file
36
test/external/boost/units/systems/cgs/velocity.hpp
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_VELOCITY_HPP
|
||||
#define BOOST_UNITS_CGS_VELOCITY_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/velocity.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<velocity_dimension,cgs::system> velocity;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimeter_per_second,velocity);
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimeters_per_second,velocity);
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimetre_per_second,velocity);
|
||||
BOOST_UNITS_STATIC_CONSTANT(centimetres_per_second,velocity);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_VELOCITY_HPP
|
||||
36
test/external/boost/units/systems/cgs/volume.hpp
vendored
Normal file
36
test/external/boost/units/systems/cgs/volume.hpp
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_VOLUME_HPP
|
||||
#define BOOST_UNITS_CGS_VOLUME_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/volume.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<volume_dimension,cgs::system> volume;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(cubic_centimeter,volume);
|
||||
BOOST_UNITS_STATIC_CONSTANT(cubic_centimeters,volume);
|
||||
BOOST_UNITS_STATIC_CONSTANT(cubic_centimetre,volume);
|
||||
BOOST_UNITS_STATIC_CONSTANT(cubic_centimetres,volume);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_VOLUME_HPP
|
||||
38
test/external/boost/units/systems/cgs/wavenumber.hpp
vendored
Normal file
38
test/external/boost/units/systems/cgs/wavenumber.hpp
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
|
||||
// unit/quantity manipulation and conversion
|
||||
//
|
||||
// Copyright (C) 2003-2008 Matthias Christian Schabel
|
||||
// Copyright (C) 2008 Steven Watanabe
|
||||
//
|
||||
// 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_CGS_WAVENUMBER_HPP
|
||||
#define BOOST_UNITS_CGS_WAVENUMBER_HPP
|
||||
|
||||
#include <boost/units/systems/cgs/base.hpp>
|
||||
#include <boost/units/physical_dimensions/wavenumber.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace units {
|
||||
|
||||
namespace cgs {
|
||||
|
||||
typedef unit<wavenumber_dimension,cgs::system> wavenumber;
|
||||
|
||||
BOOST_UNITS_STATIC_CONSTANT(kayser,wavenumber);
|
||||
BOOST_UNITS_STATIC_CONSTANT(kaysers,wavenumber);
|
||||
BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimeter,wavenumber);
|
||||
BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimeters,wavenumber);
|
||||
BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimetre,wavenumber);
|
||||
BOOST_UNITS_STATIC_CONSTANT(reciprocal_centimetres,wavenumber);
|
||||
|
||||
} // namespace cgs
|
||||
|
||||
} // namespace units
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UNITS_CGS_WAVENUMBER_HPP
|
||||
Reference in New Issue
Block a user