source: branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/sundials/include/sundials/sundials_config.h @ 16222

Last change on this file since 16222 was 16222, checked in by gkronber, 4 years ago

#2925:

  • added comments about parameter identification for differential equation models
  • added source code of cvodes library (part of sundials) which provides functionality to calculate gradients for the parameters of partial differential equation models efficiently using the 'adjoint state method'.
  • added compiled version of cvodes
File size: 3.8 KB
Line 
1/* -----------------------------------------------------------------
2 * Programmer(s): Aaron Collier and Radu Serban @ LLNL
3 * -----------------------------------------------------------------
4 * Copyright (c) 2005, The Regents of the University of California.
5 * Produced at the Lawrence Livermore National Laboratory.
6 * All rights reserved.
7 * For details, see the LICENSE file.
8 * -----------------------------------------------------------------
9 * SUNDIALS configuration header file
10 * -----------------------------------------------------------------*/
11
12/* Define SUNDIALS version numbers */
13#define SUNDIALS_VERSION "3.2.0"
14#define SUNDIALS_VERSION_MAJOR 3
15#define SUNDIALS_VERSION_MINOR 2
16#define SUNDIALS_VERSION_PATCH 0
17#define SUNDIALS_VERSION_LABEL ""
18
19/* FCMIX: Define Fortran name-mangling macro for C identifiers.
20 * Depending on the inferred scheme, one of the following six
21 * macros will be defined:
22 *     #define SUNDIALS_F77_FUNC(name,NAME) name
23 *     #define SUNDIALS_F77_FUNC(name,NAME) name ## _
24 *     #define SUNDIALS_F77_FUNC(name,NAME) name ## __
25 *     #define SUNDIALS_F77_FUNC(name,NAME) NAME
26 *     #define SUNDIALS_F77_FUNC(name,NAME) NAME ## _
27 *     #define SUNDIALS_F77_FUNC(name,NAME) NAME ## __
28 */
29
30
31/* FCMIX: Define Fortran name-mangling macro for C identifiers
32 *        which contain underscores.
33 */
34
35
36/* Define precision of SUNDIALS data type 'realtype'
37 * Depending on the precision level, one of the following
38 * three macros will be defined:
39 *     #define SUNDIALS_SINGLE_PRECISION 1
40 *     #define SUNDIALS_DOUBLE_PRECISION 1
41 *     #define SUNDIALS_EXTENDED_PRECISION 1
42 */
43#define SUNDIALS_DOUBLE_PRECISION 1
44
45/* Define type of vector indices in SUNDIALS 'sunindextype'.
46 * Depending on user choice of index type, one of the following
47 * two macros will be defined:
48 *     #define SUNDIALS_INT64_T 1
49 *     #define SUNDIALS_INT32_T 1
50 */
51#define SUNDIALS_INT64_T 1
52
53/* Define the type of vector indices in SUNDIALS 'sunindextype'.
54 * The macro will be defined with a type of the appropriate size.
55 */
56#define SUNDIALS_INDEX_TYPE int64_t
57
58/* Use generic math functions
59 * If it was decided that generic math functions can be used, then
60 *     #define SUNDIALS_USE_GENERIC_MATH
61 */
62/* #undef SUNDIALS_USE_GENERIC_MATH */
63
64/* Use POSIX timers if available.
65 *     #define SUNDIALS_HAVE_POSIX_TIMERS
66 */
67/* #undef SUNDIALS_HAVE_POSIX_TIMERS */
68
69/* Blas/Lapack available
70 * If working libraries for Blas/lapack support were found, then
71 *     #define SUNDIALS_BLAS_LAPACK
72 */
73/* #undef SUNDIALS_BLAS_LAPACK */
74
75/* SUPERLUMT available
76 * If working libraries for SUPERLUMT support were found, then
77 *     #define SUNDIALS_SUPERLUMT
78 */
79/* #undef SUNDIALS_SUPERLUMT */
80/* #undef SUNDIALS_SUPERLUMT_THREAD_TYPE */
81
82/* KLU available
83 * If working libraries for KLU support were found, then
84 *     #define SUNDIALS_KLU
85 */
86/* #undef SUNDIALS_KLU */
87
88/* Set if SUNDIALS is built with MPI support.
89 *
90 */
91
92
93/* FNVECTOR: Allow user to specify different MPI communicator
94 * If it was found that the MPI implementation supports MPI_Comm_f2c, then
95 *      #define SUNDIALS_MPI_COMM_F2C 1
96 * otherwise
97 *      #define SUNDIALS_MPI_COMM_F2C 0
98 */
99#define SUNDIALS_MPI_COMM_F2C 0
100
101/* Mark SUNDIALS API functions for export/import
102 * When building shared SUNDIALS libraries under Windows, use
103 *      #define SUNDIALS_EXPORT __declspec(dllexport)
104 * When linking to shared SUNDIALS libraries under Windows, use
105 *      #define SUNDIALS_EXPORT __declspec(dllimport)
106 * In all other cases (other platforms or static libraries under
107 * Windows), the SUNDIALS_EXPORT macro is empty
108 */
109#ifdef BUILD_SUNDIALS_LIBRARY
110#define SUNDIALS_EXPORT __declspec(dllexport)
111#else
112#define SUNDIALS_EXPORT __declspec(dllimport)
113#endif
Note: See TracBrowser for help on using the repository browser.