Actual source code: slepcversion.h

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain

      6:    This file is part of SLEPc.
      7:    SLEPc is distributed under a 2-clause BSD license (see LICENSE).
      8:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      9: */

     11: #if !defined(SLEPCVERSION_H)
     12: #define SLEPCVERSION_H

     14: /* MANSEC = Sys */

     16: #define SLEPC_VERSION_RELEASE    1
     17: #define SLEPC_VERSION_MAJOR      3
     18: #define SLEPC_VERSION_MINOR      25
     19: #define SLEPC_VERSION_SUBMINOR   1
     20: #define SLEPC_RELEASE_DATE       "March 31, 2026"
     21: #define SLEPC_VERSION_DATE       "unknown"

     23: #if !defined(SLEPC_VERSION_GIT)
     24: #define SLEPC_VERSION_GIT        "unknown"
     25: #endif

     27: #if !defined(SLEPC_VERSION_DATE_GIT)
     28: #define SLEPC_VERSION_DATE_GIT   "unknown"
     29: #endif

     31: #define SLEPC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \
     32:  ((SLEPC_VERSION_MAJOR == (MAJOR)) &&       \
     33:   (SLEPC_VERSION_MINOR == (MINOR)) &&       \
     34:   (SLEPC_VERSION_SUBMINOR == (SUBMINOR)) && \
     35:   (SLEPC_VERSION_RELEASE  == 1))

     37: #define SLEPC_VERSION_ SLEPC_VERSION_EQ

     39: #define SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR)          \
     40:   (SLEPC_VERSION_RELEASE == 1 &&                        \
     41:    (SLEPC_VERSION_MAJOR < (MAJOR) ||                    \
     42:     (SLEPC_VERSION_MAJOR == (MAJOR) &&                  \
     43:      (SLEPC_VERSION_MINOR < (MINOR) ||                  \
     44:       (SLEPC_VERSION_MINOR == (MINOR) &&                \
     45:        (SLEPC_VERSION_SUBMINOR < (SUBMINOR)))))))

     47: #define SLEPC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \
     48:   (SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \
     49:    SLEPC_VERSION_EQ(MAJOR,MINOR,SUBMINOR))

     51: #define SLEPC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \
     52:   (0 == SLEPC_VERSION_LE(MAJOR,MINOR,SUBMINOR))

     54: #define SLEPC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \
     55:   (0 == SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR))

     57: #endif