This file is indexed.

/usr/include/trilinos/fei_DirichletBCManager.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
#ifndef _fei_DirichletBCManager_hpp_
#define _fei_DirichletBCManager_hpp_

/*--------------------------------------------------------------------*/
/*    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 <fei_DirichletBCRecord.hpp>
#include <SNL_FEI_Structure.hpp>
#include <fei_VectorSpace.hpp>

#include <fei_Pool_alloc.hpp>
#include <map>

class NodeDatabase;
class EqnBuffer;

namespace fei {
class Matrix;

class DirichletBCManager {
 public:
  DirichletBCManager(SNL_FEI_Structure* structure)
   : structure_(structure), vecSpace_() {}

  DirichletBCManager(fei::SharedPtr<fei::VectorSpace> vecspace)
   : structure_(NULL), vecSpace_(vecspace) {}

  ~DirichletBCManager(){}

  void addBCRecords(int numBCs,
                    int IDType,
                    int fieldID,
                    int offsetIntoField,
                    const int* IDs,
                    const double* prescribedValues);

  void addBCRecords(int numBCs,
                    int IDType,
                    int fieldID,
                    const int* IDs,
                    const int* offsetsIntoField,
                    const double* prescribedValues);

  int finalizeBCEqns(fei::Matrix& matrix,
                     bool throw_if_bc_slave_conflict=false);

  int finalizeBCEqns(EqnBuffer& bcEqns);

  size_t getNumBCRecords() const;

  void clearAllBCs();

 private:
  int getEqnNumber(int IDType, int ID, int fieldID, int offsetIntoField);

  SNL_FEI_Structure* structure_;
  fei::SharedPtr<fei::VectorSpace> vecSpace_;

  typedef std::map<int,double,std::less<int>,
            fei_Pool_alloc<std::pair<const int, double> > > bc_map;
  bc_map bcs_;
};//class DirichletBCManager
}//namespace fei
#endif