Cantera  2.0
config.h
1 //
2 // Run the 'preconfig' script to generate 'config.h' from this input file.
3 //
4 #ifndef CT_CONFIG_H
5 #define CT_CONFIG_H
6 
7 //---------------------------- Version Flags ------------------//
8 // Cantera version -> this will be a double-quoted string value
9 // referring to branch number within svn
10 #define CANTERA_VERSION "2.0.2"
11 
12 //------------------------ Development flags ------------------//
13 //
14 // Compile in additional debug printing where available.
15 // Note, the printing may need to be turned on via a switch.
16 // This just compiles in the code.
17 /* #undef DEBUG_MODE */
18 
19 #ifdef DEBUG_MODE
20 #define DEBUG_MODE_ENABLED 1
21 #else
22 #define DEBUG_MODE_ENABLED 0
23 #endif
24 
25 //------------------------ Fortran settings -------------------//
26 
27 // define types doublereal, integer, and ftnlen to match the
28 // corresponding Fortran data types on your system. The defaults
29 // are OK for most systems
30 
31 typedef double doublereal; // Fortran double precision
32 typedef int integer; // Fortran integer
33 typedef int ftnlen; // Fortran hidden string length type
34 
35 
36 // Fortran compilers pass character strings in argument lists by
37 // adding a hidden argument with the length of the string. Some
38 // compilers add the hidden length argument immediately after the
39 // CHARACTER variable being passed, while others put all of the hidden
40 // length arguments at the end of the argument list. Define this if
41 // the lengths are at the end of the argument list. This is usually the
42 // case for most unix Fortran compilers, but is (by default) false for
43 // Visual Fortran under Windows.
44 #define STRING_LEN_AT_END
45 
46 
47 // Define this if Fortran adds a trailing underscore to names in object files.
48 // For linux and most unix systems, this is the case.
49 #define FTN_TRAILING_UNDERSCORE 1
50 
51 
52 #define HAS_SUNDIALS 1
53 #define SUNDIALS_VERSION 25
54 
55 //-------- LAPACK / BLAS ---------
56 
57 #define LAPACK_FTN_STRING_LEN_AT_END 1
58 #define LAPACK_NAMES_LOWERCASE 1
59 #define LAPACK_FTN_TRAILING_UNDERSCORE 1
60 
61 //-------- BOOST --------
62 /* #undef USE_BOOST_MATH */
63 
64 //--------- operating system --------------------------------------
65 
66 // The configure script defines this if the operating system is Mac
67 // OS X, This used to add some Mac-specific directories to the default
68 // data file search path.
69 /* #undef DARWIN */
70 #define HAS_SSTREAM 1
71 
72 // Identify whether the operating system is cygwin's overlay of
73 // windows, with gcc being used as the compiler.
74 /* #undef CYGWIN */
75 
76 // Identify whether the operating system is Solaris
77 // with a native compiler
78 /* #undef SOLARIS */
79 
80 //--------- Fonts for reaction path diagrams ----------------------
81 #define RXNPATH_FONT "Helvetica"
82 
83 //---------- C++ Compiler Variations ------------------------------
84 
85 // This define is needed to account for the variability for how
86 // static variables in templated classes are defined. Right now
87 // this is only turned on for the SunPro compiler on Solaris.
88 // in that system , you need to declare the static storage variable.
89 // with the following line in the include file
90 //
91 // template<class M> Cabinet<M>* Cabinet<M>::__storage;
92 //
93 // Note, on other systems that declaration is treated as a definition
94 // and this leads to multiple defines at link time
95 /* #undef NEEDS_GENERIC_TEMPL_STATIC_DECL */
96 
97 //--------------------- Python ------------------------------------
98 
99 // If this is defined, the Cantera Python interface will use the
100 // Numeric package
101 /* #undef HAS_NUMERIC */
102 
103 // If this is defined, the Cantera Python interface will use the
104 // numarray package
105 /* #undef HAS_NUMARRAY */
106 
107 // If this is defined, the Cantera Python interface will use the
108 // numpy package
109 #define HAS_NUMPY 1
110 
111 // If this is defined, then python will not be assumed to be
112 // present to support conversions
113 /* #undef HAS_NO_PYTHON */
114 
115 /* #undef WITH_HTML_LOGS */
116 
117 //--------------------- compile options ----------------------------
118 /* #undef THREAD_SAFE_CANTERA */
119 
120 //-------------- Optional Cantera Capabilities ----------------------
121 
122 // Enable sensitivity analysis via changing H298 directly
123 // for species
124 /* #undef H298MODIFY_CAPABILITY */
125 
126 #endif