Sacado Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
test
performance
ad_deriv.h
Go to the documentation of this file.
1
/************************** DISCLAIMER ********************************/
2
/* */
3
/* This file was generated on 04/13/12 11:10:49 by the version of */
4
/* ADIC 1.2.3 compiled on 04/14/09 12:39:01 */
5
/* */
6
/* ADIC was prepared as an account of work sponsored by an */
7
/* agency of the United States Government and the University of */
8
/* Chicago. NEITHER THE AUTHOR(S), THE UNITED STATES GOVERNMENT */
9
/* NOR ANY AGENCY THEREOF, NOR THE UNIVERSITY OF CHICAGO, INCLUDING */
10
/* ANY OF THEIR EMPLOYEES OR OFFICERS, MAKES ANY WARRANTY, EXPRESS */
11
/* OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR RESPONSIBILITY FOR */
12
/* THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION OR */
13
/* PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE WOULD NOT INFRINGE */
14
/* PRIVATELY OWNED RIGHTS. */
15
/* */
16
/**********************************************************************/
17
#if !defined(AD_DERIV_H)
18
#define AD_DERIV_H
19
20
typedef
double
InactiveDouble
;
21
typedef
float
InactiveFloat
;
22
23
#if !defined(ad_GRAD_PTR)
24
#define ad_GRAD_PTR 0
25
#endif
26
27
#if !defined(ad_GRAD_MAX)
28
#define ad_GRAD_MAX 5
29
#endif
30
31
#define AD_INIT_MAP()
32
#define AD_CLEANUP_MAP()
33
#define AD_GET_DERIV_OBJ(x) ((void*)(&x.value+1))
34
#define AD_FREE_DERIV_OBJ(x)
35
typedef
struct
{
36
double
value
;
37
double
grad[
ad_GRAD_MAX
];
38
}
DERIV_TYPE
;
39
40
#define DERIV_val(a) ((a).value)
41
42
#define DERIV_grad(a) ((a).grad)
43
44
#undef _FLOAT_INITIALIZER_
45
46
#define _FLOAT_INITIALIZER_(x) { x, 0.0 }
47
48
void
AD_Init
(
int
);
49
void
AD_Final
();
50
#include "ad_grad.h"
51
52
#define nullFunc(x) 0
53
54
#endif
55
AD_Init
void AD_Init(int)
Definition:
adic_element_fill.ad.c:136
AD_Final
void AD_Final()
Definition:
adic_element_fill.ad.c:140
InactiveFloat
float InactiveFloat
Definition:
ad_deriv.h:21
DERIV_TYPE
Definition:
ad_deriv.h:35
InactiveDouble
double InactiveDouble
Definition:
ad_deriv.h:20
ad_GRAD_MAX
#define ad_GRAD_MAX
Definition:
ad_deriv.h:28
DERIV_TYPE::value
double value
Definition:
ad_deriv.h:36
Generated by
1.8.5