Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/sundials/include/sundials/sundials_mpi_types.h

Last change on this file was 16222, checked in by gkronber, 6 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: 1.4 KB
Line 
1/* -----------------------------------------------------------------
2 * Programmer(s): Scott Cohen, Alan Hindmarsh, Radu Serban,
3 *                Aaron Collier, and Slaven Peles @ LLNL
4 * -----------------------------------------------------------------
5 * LLNS Copyright Start
6 * Copyright (c) 2014, Lawrence Livermore National Security
7 * This work was performed under the auspices of the U.S. Department
8 * of Energy by Lawrence Livermore National Laboratory in part under
9 * Contract W-7405-Eng-48 and in part under Contract DE-AC52-07NA27344.
10 * Produced at the Lawrence Livermore National Laboratory.
11 * All rights reserved.
12 * For details, see the LICENSE file.
13 * LLNS Copyright End
14 * -----------------------------------------------------------------
15 * This header file contains definitions of MPI data types, which
16 * are used by MPI parallel vector implementations.
17 * -----------------------------------------------------------------*/
18
19#include <sundials/sundials_types.h>
20
21/* define MPI data types */
22
23#if defined(SUNDIALS_SINGLE_PRECISION)
24  #define PVEC_REAL_MPI_TYPE MPI_FLOAT
25#elif defined(SUNDIALS_DOUBLE_PRECISION)
26  #define PVEC_REAL_MPI_TYPE MPI_DOUBLE
27#elif defined(SUNDIALS_EXTENDED_PRECISION)
28  #define PVEC_REAL_MPI_TYPE MPI_LONG_DOUBLE
29#endif
30
31#if defined(SUNDIALS_INT64_T)
32  #define PVEC_INTEGER_MPI_TYPE MPI_INT64_T
33#elif defined(SUNDIALS_INT32_T)
34  #define PVEC_INTEGER_MPI_TYPE MPI_INT32_T
35#endif
36
Note: See TracBrowser for help on using the repository browser.