ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
medipacksupport_p.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------------
2 ADOL-C -- Automatic Differentiation by Overloading in C++
3 File: ampisupportAdolc.cpp
4 Revision: $Id$
5
6 Copyright (c) Jean Utke
7
8 This file is part of ADOL-C. This software is provided as open source.
9 Any use, reproduction, or distribution of the software constitutes
10 recipient's acceptance of the terms of the accompanying license file.
11
12----------------------------------------------------------------------------*/
13
14#if !defined(ADOLC_MEDISUPPORTADOLCP_H)
15#define ADOLC_MEDISUPPORTADOLCP_H 1
16
17#ifdef ADOLC_MEDIPACK_SUPPORT
18
19#if defined(__cplusplus)
21#endif
22
23#if defined(__cplusplus)
24extern "C" {
25#endif
26void mediCallHandleReverse(short tapeId, locint index, double *primalVec,
27 double **adjointVec, int vecSize);
28void mediCallHandleForward(short tapeId, locint index, double *primalVec,
29 double **adjointVec, int vecSize);
30void mediCallHandlePrimal(short tapeId, locint index, double *primalVec);
31#if defined(__cplusplus)
32}
33#endif
34void mediInitTape(short tapeId);
35
36#endif
37
38#endif