ParMooN
 All Classes Functions Variables Friends Pages
config.h
1 #ifndef __CONFIG_H
2 #define __CONFIG_H
3 
10 /*
11  * included header
12  */
13 #include <assert.h>
14 #include <stdlib.h>
15 #include <stdio.h>
16 #include <math.h>
17 //#include "seconds.h"
18 
19 /*
20  * basic types
21  */
22 
23 typedef enum {
24  FEPC_FALSE,
25  FEPC_TRUE
26 } bool_t;
27 
28 typedef double fepc_real_t;
29 
30 /*
31  * consistency check
32  */
33 
34 #if !defined(NDEBUG)
35 # define ASSERT( cond ) assert( cond )
36 #else
37 # define ASSERT( cond )
38 #endif
39 
40 /*
41  * enables debugging/output
42  */
43 
44 #define DEBUG if ( false )
45 #define PRINT if ( false )
46 
47 /*
48  * inline function decl.
49  */
50 
51 #if defined(__USE_ISOC99) && ( defined(__GNUC__) || defined(__ICC) || defined(__ECC) )
52 #define _INLINE_ inline
53 #else
54 #define _INLINE_ static
55 #endif
56 
57 #endif /* __CONFIG_H */