Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:58

0001 /*
0002  [auto_generated]
0003  boost/numeric/odeint/version.hpp
0004 
0005  [begin_description]
0006  Defines the current version of odeint.
0007  [end_description]
0008 
0009  Copyright 2011-2012 Karsten Ahnert
0010  Copyright 2011-2012 Mario Mulansky
0011 
0012  Distributed under the Boost Software License, Version 1.0.
0013  (See accompanying file LICENSE_1_0.txt or
0014  copy at http://www.boost.org/LICENSE_1_0.txt)
0015  */
0016 
0017 #ifndef BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED
0018 #define BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED
0019 
0020 #include <string>
0021 #include <sstream>
0022 
0023 
0024 #define ODEINT_MAJOR_VERSION 2
0025 #define ODEINT_MINOR_VERSION 2
0026 #define ODEINT_PATCH_LEVEL 0
0027 #define ODEINT_VERSION ( ODEINT_MAJOR_VERSION * 100000 + ODEINT_MINOR_VERSION * 100 + ODEINT_PATCH_LEVEL )
0028 
0029 
0030 namespace boost {
0031 namespace numeric {
0032 namespace odeint {
0033 
0034 namespace version {
0035 
0036 const int major = ODEINT_MAJOR_VERSION ;
0037 const int minor = ODEINT_MINOR_VERSION ;
0038 const int patch_level = ODEINT_PATCH_LEVEL ;
0039 
0040 }
0041 
0042 inline std::string get_version_string( void )
0043 {
0044     std::ostringstream str;
0045     str << "v" << version::major << "." << version::minor;
0046     if( version::patch_level != 0 ) str << "_" << version::patch_level;
0047     return str.str();
0048 }
0049 
0050 
0051 }
0052 }
0053 }
0054 
0055 #endif // BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED