/usr/include/adolc/drivers/psdrivers.h is in libadolc-dev 2.6.2-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /*----------------------------------------------------------------------------
ADOL-C -- Automatic Differentiation by Overloading in C++
File: drivers/psdrivers.h
Revision: $Id$
Contents: Easy to use drivers for piecewise smooth functions
(with C and C++ callable interfaces including Fortran
callable versions).
Copyright (c) Andrea Walther, Sabrina Fiege
This file is part of ADOL-C. This software is provided as open source.
Any use, reproduction, or distribution of the software constitutes
recipient's acceptance of the terms of the accompanying license file.
----------------------------------------------------------------------------*/
#if !defined(ADOLC_DRIVERS_PSDRIVERS_H)
#define ADOLC_DRIVERS_PSDRIVERS_H 1
#include <adolc/internal/common.h>
#include <adolc/interfaces.h>
BEGIN_C_DECLS
/****************************************************************************/
/* DRIVERS FOR PS FUNCTIONS */
/*--------------------------------------------------------------------------*/
/* directional_active_gradient_ */
/* */
ADOLC_DLL_EXPORT fint directional_active_gradient_(fint,fint,double*,short*,double*,double*,double**,short*);
/*--------------------------------------------------------------------------*/
/* directional_active_gradient */
/* */
ADOLC_DLL_EXPORT int directional_active_gradient(
short tag, /* trace identifier */
int n, /* number of independents */
double* x, /* value of independents */
short *sigma_x, /* sigma of x */
double* d, /* direction */
double* g, /* directional active gradient */
double** grad_u,
short *sigma_g /* sigma of g */
);
/*--------------------------------------------------------------------------*/
/* abs_normal */
/* */
ADOLC_DLL_EXPORT fint abs_normal_(fint*,fint*,fint*,fint*,fdouble*,fint*,fdouble*,fdouble*,fdouble*,fdouble*,fdouble*,fdouble*,fdouble*,fdouble*);
ADOLC_DLL_EXPORT int abs_normal(short tag, /* tape identifier */
int m, /* number od dependents */
int n, /* number of independents */
int swchk, /* number of switches (check) */
double *x, /* base point */
short *sigma, /* sigma of x */
double *y, /* function value */
double *z, /* switching variables */
double *cz, /* first constant */
double *cy, /* second constant */
double **J,
double **Y,
double **Z,
double **L);
END_C_DECLS
/****************************************************************************/
#endif
|