ad_deriv.h

Go to the documentation of this file.
00001 /************************** DISCLAIMER ********************************/
00002 /*                                                                    */
00003 /*   This file was generated on 01/12/10 10:38:06 by the version of   */
00004 /*   ADIC compiled on  08/30/00 16:47:46                              */
00005 /*                                                                    */
00006 /*   ADIC was prepared as an account of work sponsored by an          */
00007 /*   agency of the United States Government and the University of     */
00008 /*   Chicago.  NEITHER THE AUTHOR(S), THE UNITED STATES GOVERNMENT    */
00009 /*   NOR ANY AGENCY THEREOF, NOR THE UNIVERSITY OF CHICAGO, INCLUDING */
00010 /*   ANY OF THEIR EMPLOYEES OR OFFICERS, MAKES ANY WARRANTY, EXPRESS  */
00011 /*   OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR RESPONSIBILITY FOR */
00012 /*   THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION OR  */
00013 /*   PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE WOULD NOT INFRINGE */
00014 /*   PRIVATELY OWNED RIGHTS.                                          */
00015 /*                                                                    */
00016 /**********************************************************************/
00017 #if !defined(AD_DERIV_H)
00018 #define AD_DERIV_H
00019 
00020 typedef double InactiveDouble;
00021 typedef float InactiveFloat;
00022 
00023 #if !defined(ad_GRAD_PTR) 
00024 #define ad_GRAD_PTR 0
00025 #endif
00026 
00027 #if !defined(ad_GRAD_MAX) 
00028 #define ad_GRAD_MAX 5
00029 #endif
00030 
00031 #define AD_INIT_MAP()
00032 #define AD_CLEANUP_MAP()
00033 #define AD_GET_DERIV_OBJ(x) ((void*)(&x.value+1))
00034 #define AD_FREE_DERIV_OBJ(x)
00035 typedef struct {
00036   double value;
00037   double  grad[ad_GRAD_MAX];
00038 } DERIV_TYPE;
00039 
00040 #define DERIV_val(a) ((a).value)
00041 
00042 #define DERIV_grad(a) ((a).grad)
00043 
00044 #define _FLOAT_INITIALIZER_(x) { x, 0.0 }
00045 
00046 void AD_Init(int);
00047 void AD_Final();
00048 #include "ad_grad.h"
00049 
00050 #define nullFunc(x) 0
00051 
00052 #endif
00053 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:19:30 2011 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.6.3