This file is indexed.

/usr/include/dune/localfunctions/lagrange/pyramidp2/pyramidp2localcoefficients.hh is in libdune-localfunctions-dev 2.3.1-1.

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
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_PYRAMID_P2_LOCALCOEFFICIENTS_HH
#define DUNE_PYRAMID_P2_LOCALCOEFFICIENTS_HH

#include <cstddef>
#include <vector>

#include <dune/localfunctions/common/localkey.hh>

namespace Dune
{

  /**@ingroup LocalLayoutImplementation
     \brief Layout map for PyramidP2 elements

     \nosubgrouping
     \implements Dune::LocalCoefficientsVirtualImp
   */
  class PyramidP2LocalCoefficients
  {
  public:
    //! \brief Standard constructor
    PyramidP2LocalCoefficients () : li(14)
    {
      // Vertex shape functions
      li[0] = LocalKey(0,3,0);
      li[1] = LocalKey(1,3,0);
      li[2] = LocalKey(2,3,0);
      li[3] = LocalKey(3,3,0);
      li[4] = LocalKey(4,3,0);

      // Edge shape functions
      li[5] = LocalKey(0,2,0);
      li[6] = LocalKey(1,2,0);
      li[7] = LocalKey(2,2,0);
      li[8] = LocalKey(3,2,0);
      li[9] = LocalKey(4,2,0);
      li[10] = LocalKey(5,2,0);
      li[11] = LocalKey(6,2,0);
      li[12] = LocalKey(7,2,0);

      // base face shape function
      li[13] = LocalKey(0,1,0);
    }

    //! number of coefficients
    std::size_t size () const
    {
      return 14;
    }

    //! get i'th index
    const LocalKey& localKey (std::size_t i) const
    {
      return li[i];
    }

  private:
    std::vector<LocalKey> li;
  };

}

#endif