Cantera  2.3.0
config.h
1 #ifndef CT_CONFIG_H
2 #define CT_CONFIG_H
3 
4 //---------------------------- Version Flags ------------------//
5 // Cantera version -> this will be a double-quoted string value
6 #define CANTERA_VERSION "2.3.0"
7 
8 // Just the major + minor version (i.e. 2.2 instead of 2.2.0)
9 #define CANTERA_SHORT_VERSION "2.3"
10 
11 //------------------------ Fortran settings -------------------//
12 
13 // define types doublereal, integer, and ftnlen to match the
14 // corresponding Fortran data types on your system. The defaults
15 // are OK for most systems
16 
17 typedef double doublereal; // Fortran double precision
18 typedef int integer; // Fortran integer
19 typedef int ftnlen; // Fortran hidden string length type
20 
21 // Fortran compilers pass character strings in argument lists by
22 // adding a hidden argument with the length of the string. Some
23 // compilers add the hidden length argument immediately after the
24 // CHARACTER variable being passed, while others put all of the hidden
25 // length arguments at the end of the argument list. Define this if
26 // the lengths are at the end of the argument list. This is usually the
27 // case for most unix Fortran compilers, but is (by default) false for
28 // Visual Fortran under Windows.
29 #define STRING_LEN_AT_END
30 
31 // Define this if Fortran adds a trailing underscore to names in object files.
32 // For linux and most unix systems, this is the case.
33 #define FTN_TRAILING_UNDERSCORE 1
34 
35 
36 #define SUNDIALS_VERSION 26
37 
38 //-------- LAPACK / BLAS ---------
39 
40 #define LAPACK_FTN_STRING_LEN_AT_END 1
41 #define LAPACK_NAMES_LOWERCASE 1
42 #define LAPACK_FTN_TRAILING_UNDERSCORE 1
43 /* #undef CT_USE_LAPACK */
44 
45 /* #undef CT_USE_SYSTEM_EIGEN */
46 /* #undef CT_USE_SYSTEM_FMT */
47 
48 //--------- operating system --------------------------------------
49 
50 // The configure script defines this if the operating system is Mac
51 // OS X, This used to add some Mac-specific directories to the default
52 // data file search path.
53 /* #undef DARWIN */
54 
55 // Identify whether the operating system is Solaris
56 // with a native compiler
57 /* #undef SOLARIS */
58 
59 //---------- C++ Compiler Variations ------------------------------
60 
61 // This define is needed to account for the variability for how
62 // static variables in templated classes are defined. Right now
63 // this is only turned on for the SunPro compiler on Solaris.
64 // in that system , you need to declare the static storage variable.
65 // with the following line in the include file
66 //
67 // template<class M> Cabinet<M>* Cabinet<M>::s_storage;
68 //
69 // Note, on other systems that declaration is treated as a definition
70 // and this leads to multiple defines at link time
71 /* #undef NEEDS_GENERIC_TEMPL_STATIC_DECL */
72 
73 //--------------------- Python ------------------------------------
74 
75 // If this is defined, then python will not be assumed to be
76 // present to support conversions
77 /* #undef HAS_NO_PYTHON */
78 
79 //-------------- Optional Cantera Capabilities ----------------------
80 
81 // Enable Sundials to use an external BLAS/LAPACK library if it was
82 // built to use this option
83 #define SUNDIALS_USE_LAPACK 0
84 
85 #endif