This file is indexed.

/usr/include/trilinos/CoefAccess.hpp is in libtrilinos-dev 10.4.0.dfsg-1ubuntu2.

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
66
67
68
69
70
71
72
73
74
#ifndef _CoefAccess_h_
#define _CoefAccess_h_

/*--------------------------------------------------------------------*/
/*    Copyright 2005 Sandia Corporation.                              */
/*    Under the terms of Contract DE-AC04-94AL85000, there is a       */
/*    non-exclusive license for use of this work by or on behalf      */
/*    of the U.S. Government.  Export of this program may require     */
/*    a license from the United States Government.                    */
/*--------------------------------------------------------------------*/

#include <cstdlib>

class CoefAccess {
 public:
  CoefAccess() : patternID_(-1), numRowIDs_(0), rowIDs_(NULL),
    numColIDsPerRow_(0), colIDs_(NULL), numRowCoefs_(0), numColCoefs_(0),
    coefs_(NULL) {}

  CoefAccess(const CoefAccess& src)
    {
      *this = src;
    }

  CoefAccess& operator=(const CoefAccess& src)
    {
      patternID_ = src.patternID_;

      numRowIDs_ = src.numRowIDs_;
      numColIDsPerRow_ = src.numColIDsPerRow_;
      numRowCoefs_ = src.numRowCoefs_;
      numColCoefs_ = src.numColCoefs_;

      if (numRowIDs_ > 0) {
	rowIDs_ = new GlobalID[numRowIDs_];
	for(int i=0; i<numRowIDs_; i++) rowIDs_[i] = src.rowIDs_[i];
      }

      if (numColIDsPerRow_ > 0 && numRowIDs_ > 0) {
	int len = numRowIDs_*numColIDsPerRow_;
	colIDs_ = new GlobalID[len];
	for(int i=0; i<len; i++) colIDs_[i] = src.colIDs_[i];
      }

      if (numRowCoefs_ > 0 && numColCoefs_ > 0) {
	int len = numRowCoefs_*numColCoefs_;
	coefs_ = new double[len];
	for(int i=0; i<len; i++) coefs_[i] = src.coefs_[i];
      }

      return(*this);
    }

  ~CoefAccess()
    {
      delete [] rowIDs_; delete [] colIDs_; delete [] coefs_;
      numRowIDs_ = 0; numColIDsPerRow_ = 0; numRowCoefs_ = 0; numColCoefs_ = 0;
    }

  int patternID_;

  int numRowIDs_;
  GlobalID* rowIDs_;

  int numColIDsPerRow_;
  GlobalID* colIDs_;

  int numRowCoefs_;
  int numColCoefs_;

  double* coefs_;
};

#endif // _CoefAccess_h_