/usr/include/adolc/usrparms.h is in libadolc-dev 2.5.2-2.
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 | /*----------------------------------------------------------------------------
ADOL-C -- Automatic Differentiation by Overloading in C++
File: usrparms.h
Revision: $Id: usrparms.h 375 2012-12-14 11:22:48Z kulshres $
Contents: User parameters:
These parameters might affect the performance of the ADOL-C
system; they are intended to be tweeked by users and local
maintainence personal.
Copyright (c) Andrea Walther, Andreas Griewank, Andreas Kowarz,
Hristo Mitev, Sebastian Schlenkrich, Jean Utke, Olaf Vogel
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_USRPARMS_H)
#define ADOLC_USRPARMS_H 1
/*--------------------------------------------------------------------------*/
/* Buffer sizes */
#define OBUFSIZE 524288 /* 16384 or 65536 */
#define LBUFSIZE 524288 /* 16384 or 65536 */
#define VBUFSIZE 524288 /* 16384 or 65536 */
/*--------------------------------------------------------------------------*/
/* Buffer size for temporary Taylor store */
#define TBUFSIZE 524288 /* 16384 or 65536 */
/*--------------------------------------------------------------------------*/
/* Number of temporary Taylor stores*/
#define TBUFNUM 32
/*--------------------------------------------------------------------------*/
/* Data types used by Fortran callable versions of functions */
#define fint long
#define fdouble double
/*--------------------------------------------------------------------------*/
/* Definionion of inf and NaN */
#define inf_num 1.0 /* don't undefine these; on non-IEEE machines */
#define inf_den 0.0 /* change the values to get small fractions */
#define non_num 0.0 /* (inf_num/inf_den) and (non_num/non_den) */
#define non_den 0.0 /* respectively, see the documentation */
#define ADOLC_EPS 10E-20 /* for test on zero */
/****************************************************************************/
/* Standard output used for diagnostics by ADOL-C, */
/* e.g. stdout or stderr or whatever file identifier */
#define DIAG_OUT stderr
/*--------------------------------------------------------------------------*/
/* Constants used by the checkpointing part (revolve) */
#define ADOLC_CHECKUP 1000
#define ADOLC_REPSUP 1000
/*--------------------------------------------------------------------------*/
/* Maximal size (Bytes) of a block to be written with fwrite or read with */
/* fread --- power of 2 > 8 preferable ;-) --- */
#define ADOLC_IO_CHUNK_SIZE 1073741824
/*--------------------------------------------------------------------------*/
#endif
|