This file is indexed.

/usr/include/psurface/VtkIO.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
#ifndef VTKIO_H
#define VTKIO_H

#include <vector>
#include <string>

namespace psurface{

// Forward declaration
namespace VTK {
  class VTUWriter;
}

template<class ctype,int dim>
class VTKIO{
    private:
    /// Psurface object to be read to vtu file.
    PSurface<dim,ctype>* par;

    /// Global coordinate of nodes
    std::vector<StaticVector<ctype,3> > nodePositions;
    /// Parameter Edge endpoints in global index
    std::vector<StaticVector<int,2> > parameterEdgeArray;

    ///Node type
    std::vector<typename Node<ctype>::NodeType>  nodeType;

    /// Number of triangle vertices
    int numVertices;
    /// Number of base grid triangles
    int numTriangles;
    /// Number of nodes
    int numNodes;
    /// Number of ParamEdge
    int numParamEdges;

    public:
    VTKIO(PSurface<dim,ctype>* psurface);

    ///write the parametrization into vtu file
    void createVTU(const std::string& element_filename, const std::string& graph_filename);

private:
    ///write data file to stream
    void writeElementDataFile(std::ostream& s);

    /// write the positions of vertices
    void writeElementGridPoints(VTK::VTUWriter& writer);

    /// write the connectivity array
    void writeElementGridCells(VTK::VTUWriter& writer);

    /// write cell data
    void writeElementGridCellData(VTK::VTUWriter& writer);


    ///write data file to stream
    void writeGraphDataFile(std::ostream& s);

    /// write point data
    void writeGraphNodeTypes(VTK::VTUWriter& writer);

    /// write the positions of vertices
    void writeGraphGridPoints(VTK::VTUWriter& writer);

    /// write the connectivity array
    void writeGraphGridCells(VTK::VTUWriter& writer);
};
}// namespace psurface
#endif