| 1 |
gezelter |
1704 |
/* config.h. Generated from config.h.cmake by CMake for @PROJECT_NAME@ */ |
| 2 |
gezelter |
1767 |
#ifndef __CONFIG_H |
| 3 |
|
|
#define __CONFIG_H |
| 4 |
chuckv |
1496 |
|
| 5 |
|
|
#define OPENMD_VERSION_MAJOR "${VERSION_MAJOR}" |
| 6 |
|
|
#define OPENMD_VERSION_MINOR "${VERSION_MINOR}" |
| 7 |
|
|
#define OPENMD_VERSION_TINY "${VERSION_TINY}" |
| 8 |
|
|
|
| 9 |
|
|
#define MK_STR(s) # s |
| 10 |
|
|
#define STR_DEFINE(t, s) t = MK_STR(s) |
| 11 |
|
|
|
| 12 |
|
|
/* Is defined if OpenMD should be compiled with single precision arithmetic. */ |
| 13 |
|
|
#cmakedefine SINGLE_PRECISION |
| 14 |
|
|
|
| 15 |
gezelter |
1767 |
#ifdef _MSC_VER |
| 16 |
|
|
#define _USE_MATH_DEFINES |
| 17 |
|
|
#endif |
| 18 |
|
|
|
| 19 |
chuckv |
1496 |
/* Is defined if the qhull library is available. */ |
| 20 |
|
|
|
| 21 |
gezelter |
1704 |
#cmakedefine HAVE_QHULL 1 |
| 22 |
|
|
#cmakedefine HAVE_QHULL_2011 1 |
| 23 |
|
|
#ifdef DISABLE_QHULL |
| 24 |
|
|
#undef HAVE_QHULL |
| 25 |
|
|
#endif |
| 26 |
|
|
|
| 27 |
gezelter |
1668 |
/* have <conio.h> */ |
| 28 |
chuckv |
1496 |
#cmakedefine HAVE_CONIO_H 1 |
| 29 |
|
|
|
| 30 |
gezelter |
1668 |
/* have symbol strncasecmp */ |
| 31 |
|
|
#cmakedefine HAVE_STRNCASECMP 1 |
| 32 |
|
|
|
| 33 |
chuckv |
1496 |
/* define if fftw3.h exists */ |
| 34 |
gezelter |
1668 |
#cmakedefine HAVE_FFTW3_H 1 |
| 35 |
chuckv |
1496 |
|
| 36 |
|
|
/* Define to 1 if you have the `z' library (-lz). */ |
| 37 |
|
|
#cmakedefine HAVE_LIBZ 1 |
| 38 |
|
|
|
| 39 |
|
|
/* Define to the one symbol short name of this package. */ |
| 40 |
|
|
#cmakedefine PACKAGE_TARNAME |
| 41 |
|
|
|
| 42 |
|
|
/* Define to the version of this package. */ |
| 43 |
|
|
#cmakedefine PACKAGE_VERSION |
| 44 |
|
|
|
| 45 |
|
|
/* Define to empty if `const' does not conform to ANSI C. */ |
| 46 |
|
|
#cmakedefine const |
| 47 |
|
|
|
| 48 |
|
|
/* Code compiled in debug mode */ |
| 49 |
|
|
#cmakedefine debug |
| 50 |
|
|
|
| 51 |
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler |
| 52 |
|
|
calls it, or to nothing if 'inline' is not supported under any name. */ |
| 53 |
|
|
#ifndef __cplusplus |
| 54 |
|
|
#undef inline |
| 55 |
|
|
#endif |
| 56 |
|
|
|
| 57 |
|
|
/* Define to rpl_malloc if the replacement function should be used. */ |
| 58 |
|
|
#undef malloc |
| 59 |
|
|
|
| 60 |
|
|
/* Define to rpl_realloc if the replacement function should be used. */ |
| 61 |
|
|
#undef realloc |
| 62 |
|
|
|
| 63 |
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 64 |
|
|
#undef size_t |
| 65 |
|
|
|
| 66 |
|
|
#ifdef SINGLE_PRECISION |
| 67 |
|
|
typedef float RealType; |
| 68 |
|
|
#ifdef IS_MPI |
| 69 |
|
|
#define MPI_REALTYPE MPI_FLOAT |
| 70 |
|
|
#define REALTYPE FLOAT |
| 71 |
|
|
#define REALTYPE_INT FLOAT_INT |
| 72 |
|
|
#endif |
| 73 |
|
|
#else |
| 74 |
|
|
typedef double RealType; |
| 75 |
|
|
#ifdef IS_MPI |
| 76 |
|
|
#define MPI_REALTYPE MPI_DOUBLE |
| 77 |
|
|
#define REALTYPE DOUBLE |
| 78 |
|
|
#define REALTYPE_INT DOUBLE_INT |
| 79 |
|
|
#endif |
| 80 |
|
|
#endif |
| 81 |
gezelter |
1767 |
|
| 82 |
|
|
#endif // __CONFIG_H |