Date: 2020-01-13T12:02:20+00:00

Actual source code: slepcversion.h
slepc-3.12.2 2020-01-13
Report Typos and Errors

      1: #if !defined(SLEPCVERSION_H)
      2: #define SLEPCVERSION_H

      4: #define SLEPC_VERSION_RELEASE    1
      5: #define SLEPC_VERSION_MAJOR      3
      6: #define SLEPC_VERSION_MINOR      12
      7: #define SLEPC_VERSION_SUBMINOR   2
      8: #define SLEPC_VERSION_PATCH      0
      9: #define SLEPC_RELEASE_DATE       "September 30, 2019"
     10: #define SLEPC_VERSION_DATE       "unknown"

     12: #if !defined (SLEPC_VERSION_GIT)
     13: #define SLEPC_VERSION_GIT        "unknown"
     14: #endif

     16: #if !defined(SLEPC_VERSION_DATE_GIT)
     17: #define SLEPC_VERSION_DATE_GIT   "unknown"
     18: #endif

     20: #define SLEPC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \
     21:  ((SLEPC_VERSION_MAJOR == (MAJOR)) &&       \
     22:   (SLEPC_VERSION_MINOR == (MINOR)) &&       \
     23:   (SLEPC_VERSION_SUBMINOR == (SUBMINOR)) && \
     24:   (SLEPC_VERSION_RELEASE  == 1))

     26: #define SLEPC_VERSION_ SLEPC_VERSION_EQ

     28: #define SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR)          \
     29:   (SLEPC_VERSION_RELEASE == 1 &&                        \
     30:    (SLEPC_VERSION_MAJOR < (MAJOR) ||                    \
     31:     (SLEPC_VERSION_MAJOR == (MAJOR) &&                  \
     32:      (SLEPC_VERSION_MINOR < (MINOR) ||                  \
     33:       (SLEPC_VERSION_MINOR == (MINOR) &&                \
     34:        (SLEPC_VERSION_SUBMINOR < (SUBMINOR)))))))

     36: #define SLEPC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \
     37:   (SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \
     38:    SLEPC_VERSION_EQ(MAJOR,MINOR,SUBMINOR))

     40: #define SLEPC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \
     41:   (0 == SLEPC_VERSION_LE(MAJOR,MINOR,SUBMINOR))

     43: #define SLEPC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \
     44:   (0 == SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR))

     46: #endif