ADOL-C: Automatic Differentiation in C/C++
2.7.3
Loading...
Searching...
No Matches
ADOL-C
include
adolc
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)
20
#include <
adolc/medipacksupport.h
>
21
#endif
22
23
#if defined(__cplusplus)
24
extern
"C"
{
25
#endif
26
void
mediCallHandleReverse(
short
tapeId, locint index,
double
*primalVec,
27
double
**adjointVec,
int
vecSize);
28
void
mediCallHandleForward(
short
tapeId, locint index,
double
*primalVec,
29
double
**adjointVec,
int
vecSize);
30
void
mediCallHandlePrimal(
short
tapeId, locint index,
double
*primalVec);
31
#if defined(__cplusplus)
32
}
33
#endif
34
void
mediInitTape(
short
tapeId);
35
36
#endif
37
38
#endif
medipacksupport.h
Generated by
1.9.8