This file is indexed.

/usr/lib/petscdir/3.1/include/adic/ad_deriv.h is in libpetsc3.1-dev 3.1.dfsg-11ubuntu1.

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
/************************** DISCLAIMER ********************************/
/*                                                                    */
/*   This file was generated on 05/07/01 08:45:14 by the version of   */
/*   ADIC compiled on  08/07/00 18:06:31                              */
/*                                                                    */
/*   ADIC was prepared as an account of work sponsored by an          */
/*   agency of the United States Government and the University of     */
/*   Chicago.  NEITHER THE AUTHOR(S), THE UNITED STATES GOVERNMENT    */
/*   NOR ANY AGENCY THEREOF, NOR THE UNIVERSITY OF CHICAGO, INCLUDING */
/*   ANY OF THEIR EMPLOYEES OR OFFICERS, MAKES ANY WARRANTY, EXPRESS  */
/*   OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR RESPONSIBILITY FOR */
/*   THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION OR  */
/*   PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE WOULD NOT INFRINGE */
/*   PRIVATELY OWNED RIGHTS.                                          */
/*                                                                    */
/**********************************************************************/
#include "ad_grad.h"

#if !defined(AD_DERIV_H)
#define AD_DERIV_H

typedef double InactiveDouble;
typedef float InactiveFloat;

#if defined(__cplusplus)
extern "C" {
#endif

#if !defined(ad_GRAD_PTR) 
#define ad_GRAD_PTR 0
#endif

/* since ad_GRAD_MAX is set dynamically by the application (that automatically includes 
   this file) this is here so that the regular library compile can compile this file */
#if !defined(ad_GRAD_MAX)
#define ad_GRAD_MAX 64
#endif

#define AD_INIT_MAP()
#define AD_CLEANUP_MAP()
#define AD_GET_DERIV_OBJ(x) ((void*)(&x.value+1))
#define AD_FREE_DERIV_OBJ(x)
typedef struct {
	double value;
	double  grad[ad_GRAD_MAX];
} DERIV_TYPE;

#define DERIV_val(a) ((a).value)

#define DERIV_grad(a) ((a).grad)

/* _FLOAT_INITIALIZER_ is currently incorrect */
#define _FLOAT_INITIALIZER_(x) { x, 0.0 }

#define nullFunc(x) 0

#if defined(__cplusplus)
}
#endif

#endif