Cantera  3.1.0a1
Loading...
Searching...
No Matches
sundials_headers.h
1#ifndef CT_SUNDIALS_HEADERS
2#define CT_SUNDIALS_HEADERS
3
4#include "sundials/sundials_types.h"
5#include "sundials/sundials_math.h"
6#include "sundials/sundials_nvector.h"
7#include "nvector/nvector_serial.h"
8#include "cvodes/cvodes.h"
9#include "idas/idas.h"
10
11#if CT_SUNDIALS_USE_LAPACK
12 #include "sunlinsol/sunlinsol_lapackdense.h"
13 #include "sunlinsol/sunlinsol_lapackband.h"
14#else
15 #include "sunlinsol/sunlinsol_dense.h"
16 #include "sunlinsol/sunlinsol_band.h"
17#endif
18#include "sunlinsol/sunlinsol_spgmr.h"
19#include "cvodes/cvodes_diag.h"
20
21#if CT_SUNDIALS_VERSION < 70
22 #include "cvodes/cvodes_direct.h"
23 #include "idas/idas_direct.h"
24 #include "idas/idas_spils.h"
25 #include "cvodes/cvodes_spils.h"
26#endif
27
28#if CT_SUNDIALS_VERSION < 60
29 typedef realtype sunrealtype;
30 typedef booleantype sunbooleantype
31#endif
32
33#define CV_SS 1
34#define IDA_SS 1
35#define CV_SV 2
36#define IDA_SV 2
37
38typedef long int sd_size_t;
39
40#endif