Date: 2021-09-20T09:44:15+00:00

Actual source code: slepcversion.h
slepc-3.15.2 2021-09-20
Report Typos and Errors

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-2021, 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: #define SLEPC_VERSION_RELEASE    1
     15: #define SLEPC_VERSION_MAJOR      3
     16: #define SLEPC_VERSION_MINOR      15
     17: #define SLEPC_VERSION_SUBMINOR   2
     18: #define SLEPC_VERSION_PATCH      0
     19: #define SLEPC_RELEASE_DATE       "March 31, 2021"
     20: #define SLEPC_VERSION_DATE       "unknown"

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

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

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

     36: #define SLEPC_VERSION_ SLEPC_VERSION_EQ

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

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

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

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

     56: #endif