This file is indexed.

/usr/include/dune/pdelab/constraints/raviartthomas0.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
46
47
48
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
#ifndef DUNE_PDELAB_CONSTRAINTS_RAVIARTTHOMAS0_HH
#define DUNE_PDELAB_CONSTRAINTS_RAVIARTTHOMAS0_HH

#include<dune/typetree/typetree.hh>

#include<dune/common/exceptions.hh>
#include<dune/geometry/referenceelements.hh>
#include<dune/geometry/type.hh>
#include<dune/pdelab/common/geometrywrapper.hh>

namespace Dune {
  namespace PDELab {

    //! Neumann Constraints construction, as needed for RT0
    class RT0Constraints {
    public:
        enum{doBoundary=true};enum{doProcessor=false};
      enum{doSkeleton=false};enum{doVolume=false};


      //! boundary constraints
      /**
       * \tparam P   Parameter class, wich fulfills the FluxConstraintsParameters interface
       * \tparam IG  intersection geometry
       * \tparam LFS local function space
       * \tparam T   TransformationType
       */
      template<typename P, typename IG, typename LFS, typename T>
      void boundary (const P& p, const IG& ig, const LFS& lfs, T& trafo) const
      {
        typedef typename IG::ctype DT;
        const int dim = IG::dimension;
        const int face = ig.indexInInside();
        const Dune::ReferenceElement<DT,dim-1> &
          face_refelem = Dune::ReferenceElements<DT,dim-1>::general(ig.geometry().type());
        const FieldVector<DT, dim-1> ip = face_refelem.position(0,0);
        if (p.isNeumann(ig,ip)) {
          typename T::RowType empty;              // need not interpolate
          trafo[lfs.dofIndex(face)]=empty;
        }
      }
    };

  }
}

#endif // DUNE_PDELAB_CONSTRAINTS_RAVIARTTHOMAS0_HH