source: branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/sundials/include/sundials/sundials_version.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: 2.6 KB
Line 
1/* -----------------------------------------------------------------
2 * Programmer(s): David J. Gardner @ LLNL
3 * -----------------------------------------------------------------
4 * LLNS Copyright Start
5 * Copyright (c) 2014, Lawrence Livermore National Security
6 * This work was performed under the auspices of the U.S. Department
7 * of Energy by Lawrence Livermore National Laboratory in part under
8 * Contract W-7405-Eng-48 and in part under Contract DE-AC52-07NA27344.
9 * Produced at the Lawrence Livermore National Laboratory.
10 * All rights reserved.
11 * For details, see the LICENSE file.
12 * LLNS Copyright End
13 * -----------------------------------------------------------------
14 * This header file is for routines to get SUNDIALS version info
15 * -----------------------------------------------------------------*/
16
17#ifndef _SUNDIALS_VERSION_H
18#define _SUNDIALS_VERSION_H
19
20#include <sundials/sundials_config.h>
21
22#ifdef __cplusplus  /* wrapper to enable C++ usage */
23extern "C" {
24#endif
25
26/* -----------------------------------------------------------------
27 * Function: SUNDIALSGetVersion
28 * -----------------------------------------------------------------
29 * SUNDIALSGetVersion fills a string with SUNDIALS version
30 * information using the format major.minor.patch-label
31 *
32 * Inputs:
33 *   version = string to fill with version information
34 *   len     = length of the input string version
35 *
36 * SUNDIALSGetVersion returns 0 if successful and -1 if the input
37 * string is too short to store the SUNDIALS version.
38 * -----------------------------------------------------------------*/
39SUNDIALS_EXPORT int SUNDIALSGetVersion(char *version, int len);
40
41
42/* -----------------------------------------------------------------
43 * Function: SUNDIALSGetVersionNumber
44 * -----------------------------------------------------------------
45 * SUNDIALSGetVersionNumber fills separate integers with the
46 * SUNDIALS major, minor, and patch release version numbers and a
47 * fills a string with the release label.
48 *
49 * Inputs:
50 *   major = integer for major version number
51 *   minor = integer for minor version number
52 *   patch = integer for patch version number
53 *   label = string for version label
54 *   len   = length of the input string label
55 *
56 * SUNDIALSGetVersionNumber returns 0 if successful and -1 if the
57 * input string is too short to store the SUNDIALS version.
58 * -----------------------------------------------------------------*/
59SUNDIALS_EXPORT int SUNDIALSGetVersionNumber(int *major, int *minor, int *patch,
60                                             char *label, int len);
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif
Note: See TracBrowser for help on using the repository browser.