source: trunk/ADOL-C/include/adolc/adolc_settings.h.in @ 407

Last change on this file since 407 was 375, checked in by kulshres, 7 years ago

Move some options out of usrparms.h

These should be set using the configure script arguments and are
now in a new generated header file that will be installed via
make install. This include ATRIG_ERF, and the typedefs for locint/revreal
A new option ADOLC_ADVANCED_BRANCHING is also created.

ADOLC_USE_CALLOC goes into config.h as this is only required for build
but not after installation

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File size: 1.4 KB
Line 
1/*----------------------------------------------------------------------------
2 ADOL-C -- Automatic Differentiation by Overloading in C++
3 File:     adolc_settings.h
4 Revision: $Id$
5 Contents: ADOL-C Settings:
6           These parameters might affect the performance of the ADOL-C
7           system; and are set by the configure script during the build.
8           Do not edit this file.
9
10 Copyright (c) Kshitij Kulshreshtha
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_SETTINGS_H)
19#define ADOLC_ADOLC_SETTINGS_H 1
20/*--------------------------------------------------------------------------*/
21/* ADOL-C data types */
22typedef @UINT_TYPE@ locint;                /* ensure locint is unsigned */
23typedef @REAL_TYPE@ revreal;
24
25/*--------------------------------------------------------------------------*/
26/* Enable/disable asinh, acosh,atanh, erf */
27@ATRIG_ERF_FALSE@#undef ATRIG_ERF
28@ATRIG_ERF_TRUE@#define ATRIG_ERF 1
29
30/*--------------------------------------------------------------------------*/
31/* Enable/disable advanced branching */
32@ADVBRANCH_FALSE@#undef ADOLC_ADVANCED_BRANCHING
33@ADVBRANCH_TRUE@#define ADOLC_ADVANCED_BRANCHING 1
34
35
36#endif
Note: See TracBrowser for help on using the repository browser.