1#ifndef CT_SUNDIALS_HEADERS
2#define CT_SUNDIALS_HEADERS
5#include "sundials/sundials_types.h"
6#include "sundials/sundials_math.h"
7#include "sundials/sundials_nvector.h"
8#include "nvector/nvector_serial.h"
9#include "cvodes/cvodes.h"
12#if CT_SUNDIALS_USE_LAPACK
13 #include "sunlinsol/sunlinsol_lapackdense.h"
14 #include "sunlinsol/sunlinsol_lapackband.h"
16 #include "sunlinsol/sunlinsol_dense.h"
17 #include "sunlinsol/sunlinsol_band.h"
19#include "sunlinsol/sunlinsol_spgmr.h"
20#include "cvodes/cvodes_diag.h"
22#if SUNDIALS_VERSION_MAJOR < 7
23 #include "cvodes/cvodes_direct.h"
24 #include "idas/idas_direct.h"
25 #include "idas/idas_spils.h"
26 #include "cvodes/cvodes_spils.h"
34typedef long int sd_size_t;
40inline span<double>
asSpan(N_Vector v)
42 return span<double>(NV_DATA_S(v), NV_LENGTH_S(v));
This file contains definitions of constants, types and terms that are used in internal routines and a...
Namespace for the Cantera kernel.
span< double > asSpan(Eigen::DenseBase< Derived > &v)
Convenience wrapper for accessing Eigen vector/array/map data as a span.