This file is indexed.

/usr/include/dune/pdelab/constraints/p0.hh is in libdune-pdelab-dev 2.5.0~20170124g7cf9f47a-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
// -*- tab-width: 4; indent-tabs-mode: nil -*-
#ifndef DUNE_PDELAB_CONSTRAINTS_P0_HH
#define DUNE_PDELAB_CONSTRAINTS_P0_HH

#include "../common/geometrywrapper.hh"

namespace Dune {
  namespace PDELab {

    //! \addtogroup Constraints
    //! \ingroup FiniteElementMap
    //! \{

    //! Parallel P0 constraints for overlapping grids
    class P0ParallelConstraints
    {
    public:
      enum{doBoundary=false};
      enum{doProcessor=true};
      enum{doSkeleton=false};
      enum{doVolume=false};

      //! processor constraints
      /**
       * \tparam IG  intersection geometry
       * \tparam LFS local function space
       * \tparam T   TransformationType
       */
      template<typename I, typename LFS, typename T>
      void processor (const Dune::PDELab::IntersectionGeometry<I>& ig,
                      const LFS& lfs, T& trafo) const
      {
        typename T::RowType empty;
        typedef typename LFS::Traits::SizeType size_type;
        for (size_type i=0; i<lfs.size(); i++){
          trafo[lfs.dofIndex(i)] = empty;
        }
      }
    };
    //! \}

  }
}

#endif // DUNE_PDELAB_CONSTRAINTS_P0_HH