Cantera  2.1.2
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.1.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 
71 // Identify whether the operating system is Solaris
72 // with a native compiler
73 /* #undef SOLARIS */
74 
75 //--------- Fonts for reaction path diagrams ----------------------
76 #define RXNPATH_FONT "Helvetica"
77 
78 //---------- C++ Compiler Variations ------------------------------
79 
80 // This define is needed to account for the variability for how
81 // static variables in templated classes are defined. Right now
82 // this is only turned on for the SunPro compiler on Solaris.
83 // in that system , you need to declare the static storage variable.
84 // with the following line in the include file
85 //
86 // template<class M> Cabinet<M>* Cabinet<M>::__storage;
87 //
88 // Note, on other systems that declaration is treated as a definition
89 // and this leads to multiple defines at link time
90 /* #undef NEEDS_GENERIC_TEMPL_STATIC_DECL */
91 
92 //--------------------- Python ------------------------------------
93 
94 // If this is defined, the Cantera Python interface will use the
95 // Numeric package
96 /* #undef HAS_NUMERIC */
97 
98 // If this is defined, the Cantera Python interface will use the
99 // numarray package
100 /* #undef HAS_NUMARRAY */
101 
102 // If this is defined, the Cantera Python interface will use the
103 // numpy package
104 #define HAS_NUMPY 1
105 
106 // If this is defined, then python will not be assumed to be
107 // present to support conversions
108 /* #undef HAS_NO_PYTHON */
109 
110 /* #undef WITH_HTML_LOGS */
111 
112 //--------------------- compile options ----------------------------
113 #define THREAD_SAFE_CANTERA 1
114 
115 //-------------- Optional Cantera Capabilities ----------------------
116 
117 // Enable sensitivity analysis via changing H298 directly
118 // for species
119 /* #undef H298MODIFY_CAPABILITY */
120 
121 #endif