Actual source code: slepcversion.h
slepc-3.22.1 2024-10-28
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: #ifndef SLEPCVERSION_H
12: #define SLEPCVERSION_H
14: #define SLEPC_VERSION_RELEASE 1
15: #define SLEPC_VERSION_MAJOR 3
16: #define SLEPC_VERSION_MINOR 22
17: #define SLEPC_VERSION_SUBMINOR 1
18: #define SLEPC_RELEASE_DATE "September 29, 2024"
19: #define SLEPC_VERSION_DATE "unknown"
21: #if !defined (SLEPC_VERSION_GIT)
22: #define SLEPC_VERSION_GIT "unknown"
23: #endif
25: #if !defined(SLEPC_VERSION_DATE_GIT)
26: #define SLEPC_VERSION_DATE_GIT "unknown"
27: #endif
29: #define SLEPC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \
30: ((SLEPC_VERSION_MAJOR == (MAJOR)) && \
31: (SLEPC_VERSION_MINOR == (MINOR)) && \
32: (SLEPC_VERSION_SUBMINOR == (SUBMINOR)) && \
33: (SLEPC_VERSION_RELEASE == 1))
35: #define SLEPC_VERSION_ SLEPC_VERSION_EQ
37: #define SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \
38: (SLEPC_VERSION_RELEASE == 1 && \
39: (SLEPC_VERSION_MAJOR < (MAJOR) || \
40: (SLEPC_VERSION_MAJOR == (MAJOR) && \
41: (SLEPC_VERSION_MINOR < (MINOR) || \
42: (SLEPC_VERSION_MINOR == (MINOR) && \
43: (SLEPC_VERSION_SUBMINOR < (SUBMINOR)))))))
45: #define SLEPC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \
46: (SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \
47: SLEPC_VERSION_EQ(MAJOR,MINOR,SUBMINOR))
49: #define SLEPC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \
50: (0 == SLEPC_VERSION_LE(MAJOR,MINOR,SUBMINOR))
52: #define SLEPC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \
53: (0 == SLEPC_VERSION_LT(MAJOR,MINOR,SUBMINOR))
55: #endif