12 #include "../config/config.hpp"
15 #define QUOTE(str) #str
16 #define EXPAND_AND_QUOTE(str) QUOTE(str)
30 return MFEM_VERSION_MAJOR;
36 return MFEM_VERSION_MINOR;
42 return MFEM_VERSION_PATCH;
48 #if MFEM_VERSION_TYPE == MFEM_VERSION_TYPE_RELEASE
49 #define MFEM_VERSION_TYPE_STR " (release)"
50 #elif MFEM_VERSION_TYPE == MFEM_VERSION_TYPE_DEVELOPMENT
51 #define MFEM_VERSION_TYPE_STR " (development)"
53 static const char *version_str =
54 "MFEM v" MFEM_VERSION_STRING MFEM_VERSION_TYPE_STR;
61 static const char *git_str = MFEM_GIT_STRING;
68 static const char *config_str =
76 #ifdef MFEM_USE_METIS_5
82 #ifdef MFEM_USE_GZSTREAM
85 #ifdef MFEM_USE_LIBUNWIND
86 "MFEM_USE_LIBUNWIND\n"
88 #ifdef MFEM_USE_LAPACK
91 #ifdef MFEM_THREAD_SAFE
94 #ifdef MFEM_USE_OPENMP
97 #ifdef MFEM_USE_MEMALLOC
100 #ifdef MFEM_USE_SUNDIALS
101 "MFEM_USE_SUNDIALS\n"
103 #ifdef MFEM_USE_MESQUITE
104 "MFEM_USE_MESQUITE\n"
106 #ifdef MFEM_USE_SUITESPARSE
107 "MFEM_USE_SUITESPARSE\n"
109 #ifdef MFEM_USE_SUPERLU
112 #ifdef MFEM_USE_STRUMPACK
113 "MFEM_USE_STRUMPACK\n"
115 #ifdef MFEM_USE_GECKO
118 #ifdef MFEM_USE_GNUTLS
121 #ifdef MFEM_USE_NETCDF
124 #ifdef MFEM_USE_PETSC
130 #ifdef MFEM_USE_SIDRE
133 "MFEM_TIMER_TYPE = " EXPAND_AND_QUOTE(MFEM_TIMER_TYPE)
const char * GetConfigStr()
const char * GetVersionStr()