ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
adolc.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------------
2 ADOL-C -- Automatic Differentiation by Overloading in C++
3 File: adolc.h
4 Revision: $Id$
5 Contents: Provides all C/C++ interfaces of ADOL-C.
6 NOTICE: ALL C/C++ headers will be included DEPENDING ON
7 whether the source code is plain C or C/C++ code.
8
9 Copyright (c) Andrea Walther, Andreas Griewank, Andreas Kowarz,
10 Hristo Mitev, Sebastian Schlenkrich, Jean Utke, Olaf Vogel
11
12 This file is part of ADOL-C. This software is provided as open source.
13 Any use, reproduction, or distribution of the software constitutes
14 recipient's acceptance of the terms of the accompanying license file.
15
16----------------------------------------------------------------------------*/
17
18#if !defined(ADOLC_ADOLC_H)
19#define ADOLC_ADOLC_H 1
20
22
23/****************************************************************************/
24/* Now the pure C++ THINGS */
25#if defined(__cplusplus)
26/*--------------------------------------------------------------------------*/
27/* Operator overloading things (active doubles & vectors) */
28#include <adolc/adtb_types.h>
29#include <adolc/adtl.h>
30#include <adolc/adtl_hov.h>
31#include <adolc/adtl_indo.h>
32#include <adolc/checkpointing.h>
33#include <adolc/edfclasses.h>
34#include <adolc/externfcts.h>
35#include <adolc/externfcts2.h>
36#include <adolc/fixpoint.h>
38#endif
39
40/****************************************************************************/
41/* Now the C/C++ THINGS */
42
43/*--------------------------------------------------------------------------*/
44/* interfaces to basic forward/reverse routines */
45#include <adolc/interfaces.h>
46
47/*--------------------------------------------------------------------------*/
48/* interfaces to "Easy To Use" driver routines for ... */
49#include <adolc/drivers/drivers.h> /* optimization & nonlinear equations */
50#include <adolc/drivers/odedrivers.h> /* ordinary differential equations */
51#include <adolc/drivers/psdrivers.h> /* piecewise smooth functions */
52#include <adolc/drivers/taylor.h> /* higher order tensors & inverse/implicit functions */
53
54/*--------------------------------------------------------------------------*/
55/* interfaces to TAPEDOC package */
57
58/*--------------------------------------------------------------------------*/
59/* interfaces to sparse drivers */
60#ifdef ADOLC_SPARSE
63#ifdef __cplusplus
64#include <adolc/sparse/sparsedrivers.h> // modern C++ API (optional)
65#include <adolc/sparse/sparsedrivers_c.h> // legacy C API
66#include <adolc/sparse/sparsematrix.h> // sparse matrix definiton
67#else
68#include <adolc/sparse/sparsedrivers_c.h> // C can only see the C API
69#endif // __cplusplus
70#endif // ADOLC_SPARSE
71
72/*--------------------------------------------------------------------------*/
73/* allocation utilities */
74#include <adolc/adalloc.h>
75
76/****************************************************************************/
77#endif