Blame view

3rdparty/boost_1_81_0/boost/numeric/odeint/version.hpp 1.18 KB
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
  /*
   [auto_generated]
   boost/numeric/odeint/version.hpp
  
   [begin_description]
   Defines the current version of odeint.
   [end_description]
  
   Copyright 2011-2012 Karsten Ahnert
   Copyright 2011-2012 Mario Mulansky
  
   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_NUMERIC_ODEINT_VERSION_HPP_INCLUDED
  #define BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED
  
  #include <string>
  #include <sstream>
  
  
  #define ODEINT_MAJOR_VERSION 2
  #define ODEINT_MINOR_VERSION 2
  #define ODEINT_PATCH_LEVEL 0
  #define ODEINT_VERSION ( ODEINT_MAJOR_VERSION * 100000 + ODEINT_MINOR_VERSION * 100 + ODEINT_PATCH_LEVEL )
  
  
  namespace boost {
  namespace numeric {
  namespace odeint {
  
  namespace version {
  
  const int major = ODEINT_MAJOR_VERSION ;
  const int minor = ODEINT_MINOR_VERSION ;
  const int patch_level = ODEINT_PATCH_LEVEL ;
  
  }
  
  inline std::string get_version_string( void )
  {
      std::ostringstream str;
      str << "v" << version::major << "." << version::minor;
      if( version::patch_level != 0 ) str << "_" << version::patch_level;
      return str.str();
  }
  
  
  }
  }
  }
  
  #endif // BOOST_NUMERIC_ODEINT_VERSION_HPP_INCLUDED