ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
fortutils.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------------
2 ADOL-C -- Automatic Differentiation by Overloading in C++
3 File: fortutils.h
4 Revision: $Id$
5 Contents: Internal tools to handle Fortran arrays
6
7 Copyright (c) Andrea Walther, Andreas Griewank, Andreas Kowarz,
8 Hristo Mitev, Sebastian Schlenkrich, Jean Utke, Olaf Vogel
9
10 This file is part of ADOL-C. This software is provided as open source.
11 Any use, reproduction, or distribution of the software constitutes
12 recipient's acceptance of the terms of the accompanying license file.
13
14----------------------------------------------------------------------------*/
15
16#if !defined(ADOLC_FORTUTILS_H)
17#define ADOLC_FORTUTILS_H 1
18
19#include <adolc/adolcexport.h>
21
22/****************************************************************************/
23/* Now the C THINGS */
25
26ADOLC_API void spread1(int m, const fdouble *x, double *X);
27ADOLC_API void pack1(int m, const double *X, fdouble *x);
28
29ADOLC_API void spread2(int m, int n, const fdouble *x, double **X);
30ADOLC_API void pack2(int m, int n, const double *const *X, fdouble *x);
31
32ADOLC_API void spread3(int m, int n, int p, const fdouble *x, double ***X);
33ADOLC_API void pack3(int m, int n, int p, const double *const *const *X,
34 fdouble *x);
35
37
38/****************************************************************************/
39#endif
#define ADOLC_API
Definition adolcexport.h:16
#define BEGIN_C_DECLS
Definition common.h:115
#define END_C_DECLS
Definition common.h:116
BEGIN_C_DECLS ADOLC_API void spread1(int m, const fdouble *x, double *X)
ADOLC_API void pack3(int m, int n, int p, const double *const *const *X, fdouble *x)
ADOLC_API void spread2(int m, int n, const fdouble *x, double **X)
ADOLC_API void spread3(int m, int n, int p, const fdouble *x, double ***X)
ADOLC_API void pack1(int m, const double *X, fdouble *x)
ADOLC_API void pack2(int m, int n, const double *const *X, fdouble *x)
#define fdouble
Definition usrparms.h:39