Cantera  3.0.0
Loading...
Searching...
No Matches
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 "3.0.0"
7
8// Just the major + minor version (that is, 2.2 instead of 2.2.0)
9#define CANTERA_SHORT_VERSION "3.0"
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
17typedef double doublereal; // Fortran double precision
18typedef int integer; // Fortran integer
19typedef 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 CT_SUNDIALS_VERSION 64
37
38//-------- LAPACK / BLAS ---------
39
40#define LAPACK_FTN_STRING_LEN_AT_END 1
41#define LAPACK_FTN_TRAILING_UNDERSCORE 1
42#define CT_USE_LAPACK 1
43
44#define CT_USE_SYSTEM_EIGEN 1
45#define CT_USE_SYSTEM_EIGEN_PREFIXED 1
46/* #undef CT_USE_SYSTEM_FMT */
47/* #undef CT_USE_SYSTEM_YAMLCPP */
48
49//-------------- Optional Cantera Capabilities ----------------------
50
51// Enable Sundials to use an external BLAS/LAPACK library if it was
52// built to use this option
53#define CT_SUNDIALS_USE_LAPACK 1
54
55// Enable export/import of HDF data via C++ HighFive
56#define CT_USE_HDF5 1
57#define CT_USE_SYSTEM_HIGHFIVE 1
58#define CT_USE_HIGHFIVE_BOOLEAN 1
59
60#endif