Actual source code: petscversion.h

petsc-3.7.3 2016-08-01
Report Typos and Errors
4: #define PETSC_VERSION_RELEASE 1 5: #define PETSC_VERSION_MAJOR 3 6: #define PETSC_VERSION_MINOR 7 7: #define PETSC_VERSION_SUBMINOR 3 8: #define PETSC_VERSION_PATCH 0 9: #define PETSC_RELEASE_DATE "Apr, 25, 2016" 10: #define PETSC_VERSION_DATE "unknown" 12: #if !defined (PETSC_VERSION_GIT) 13: #define PETSC_VERSION_GIT "unknown" 14: #endif 16: #if !defined(PETSC_VERSION_DATE_GIT) 17: #define PETSC_VERSION_DATE_GIT "unknown" 18: #endif 20: #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ 21: ((PETSC_VERSION_MAJOR == (MAJOR)) && \ 22: (PETSC_VERSION_MINOR == (MINOR)) && \ 23: (PETSC_VERSION_SUBMINOR == (SUBMINOR)) && \ 24: (PETSC_VERSION_RELEASE == 1)) 26: #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ 27: (PETSC_VERSION_RELEASE == 1 && \ 28: (PETSC_VERSION_MAJOR < (MAJOR) || \ 29: (PETSC_VERSION_MAJOR == (MAJOR) && \ 30: (PETSC_VERSION_MINOR < (MINOR) || \ 31: (PETSC_VERSION_MINOR == (MINOR) && \ 32: (PETSC_VERSION_SUBMINOR < (SUBMINOR))))))) 34: #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ 35: (PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ 36: PETSC_VERSION_(MAJOR,MINOR,SUBMINOR)) 38: #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ 39: (0 == PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR)) 41: #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ 42: (0 == PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR)) 44: #endif