Chris@16: /* Chris@16: [auto_generated] Chris@16: boost/numeric/odeint/version.hpp Chris@16: Chris@16: [begin_description] Chris@16: Defines the current version of odeint. Chris@16: [end_description] Chris@16: Chris@101: Copyright 2011-2012 Karsten Ahnert Chris@101: Copyright 2011-2012 Mario Mulansky Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. Chris@16: (See accompanying file LICENSE_1_0.txt or Chris@16: copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: */ Chris@16: Chris@16: #ifndef BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED Chris@16: #define BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: Chris@16: #define ODEINT_MAJOR_VERSION 2 Chris@16: #define ODEINT_MINOR_VERSION 2 Chris@16: #define ODEINT_PATCH_LEVEL 0 Chris@16: #define ODEINT_VERSION ( ODEINT_MAJOR_VERSION * 100000 + ODEINT_MINOR_VERSION * 100 + ODEINT_PATCH_LEVEL ) Chris@16: Chris@16: Chris@16: namespace boost { Chris@16: namespace numeric { Chris@16: namespace odeint { Chris@16: Chris@16: namespace version { Chris@16: Chris@16: const int major = ODEINT_MAJOR_VERSION ; Chris@16: const int minor = ODEINT_MINOR_VERSION ; Chris@16: const int patch_level = ODEINT_PATCH_LEVEL ; Chris@16: Chris@16: } Chris@16: Chris@16: inline std::string get_version_string( void ) Chris@16: { Chris@16: std::ostringstream str; Chris@16: str << "v" << version::major << "." << version::minor; Chris@16: if( version::patch_level != 0 ) str << "_" << version::patch_level; Chris@16: return str.str(); Chris@16: } Chris@16: Chris@16: Chris@16: } Chris@16: } Chris@16: } Chris@16: Chris@16: #endif // BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED