This file is indexed.

/usr/include/psurface/IntersectionPrimitive.h is in libpsurface-dev 2.0.0-2+b1.

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
75
#ifndef INTERSECTIONPRIMITIVE_H
#define INTERSECTIONPRIMITIVE_H

// Check for VC9 / VS2008 with installed feature pack.
#if defined(_MSC_VER) && (_MSC_VER>=1500)
    // Dummy-include to define _CPPLIB_VER.
    #include <vector>

    #if defined(_CPPLIB_VER) && _CPPLIB_VER>=505
        #include <array>
    #else
        #error Please install the Visual Studio 2008 SP1 for TR1 support.
    #endif
#else
    #include <tr1/array>
#endif

#include "StaticVector.h"

namespace psurface {

/** This class represents a part of the overlap of a basis function on the
 * mortar and the nonmortar side.  The exact part stored is the following:
 * Consider a FE basis function on the nonmortar side and one on the mortar
 * side.  Their supports are sets of simplices on \f$\Gamma_m\f$ resp. \f$\Gamma_n\f$.
 * Pick one simplex from each set.  If their images under the projections
 * \f$\phi_m\f$ resp. \f$\phi_n\f$ overlaps, this overlap will generally be
 * distributed over several simplices of the intermediate surface.  Its
 * restriction to an intermediate surface triangle is a plane convex polygon
 * with no more than six vertices.  Triangulate this polygon and each resulting
 * triangle shall be represented by an IntersectionPrimitive.
 *
 \tparam dim Dimension of the coupling surfaces
 \tparam ctype Type used for coordinates
 */
template <int dim, class ctype>
class IntersectionPrimitive {

public:

    /** \brief Dimension of the world space */
    enum {dimworld = dim+1};

    /** \brief Number of vertices of a dim-dimensional simplex */
    enum {nPoints = dim+1};

    /** This is the geometric position of the basis function support
     * overlap on the intermediate surface.  It is a little triangle.
     * Therefore, its shape can be described as three vectors
     * from \f$ R^3\f$ each.
     */
    std::tr1::array<StaticVector<ctype,dimworld>, nPoints> points;

    /** An IntersectionPrimitive always represents the overlap of two basis functions
     * restricted to the image of one mortar and one nonmortar triangle.
     * The indices of those two triangles are given in this array.
     */
    std::tr1::array<int, 2> tris;

    /** This array marks the exact parts of the mortar and the nonmortar
     * triangles whose overlap is represented by a given IntersectionPrimitive.
     * For each of the two triangles it marks the preimage of the
     * overlap in barycentric coordinates.
     *
     * Interpret it like this:  The first index selects nonmortar resp.
     * mortar side.  The second index tells which of the simplex points
     * of the IntersectionPrimitive is to be considered.  
     */
    std::tr1::array<std::tr1::array<StaticVector<ctype,dim>, nPoints> , 2> localCoords;

};

} // namespace psurface

#endif