This file is indexed.

/usr/include/psurface/Hdf5IO.h is in libpsurface-dev 2.0.0-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
66
67
68
69
#ifndef HDF5IO_H
#define HDF5IO_H
#include <stdio.h>
#include <stdlib.h>

namespace psurface{
template<class ctype,int dim>
class Hdf5IO{
    private:
    /// Psurface object hdf5IO deals.
    PSurface<2,ctype>* par;
    /// Global coordinate of nodes
    std::vector<StaticVector<ctype,3> > nodePositions;
    /// Parameter Edge endpoints in global index
    std::vector<StaticVector<int,2> > parameterEdgeArray;

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

    /// Total number of cells
    int ncells;
    /// Total number of points
    int nvertices;

    /// Writes the parametrization in hdf5 format with all data we need to read it in paraview.
    void writeHdf5Data(const std::string& filename);
    ///  Writes the parametrization in hdf5 format
    void writeBaseHdf5Data(const std::string& filename);

    public:
    /// Read a psurface object from an hdf5 file
    static PSurface<2, ctype>* read(const std::string& filename);

    /** \brief Hdf5 I/O for a 2d psurface in a 3d world
     *
     * This is the case we actually support
     */
    Hdf5IO(PSurface<2,ctype>* psurface);

    /** \brief Hdf5 I/O for a 1d psurface in a 2d world
     *
     * We don't support this case yet.
     */
    Hdf5IO(PSurface<1,ctype>* psurface) {}

    /** \brief Writes the parametrization in hdf5 format and create related xdmf file
     *
     *  \param base if true, we create hdf5 file that only contain necessary data
     *  of the psurface. If false, we create hdf5 file that contains all data
     *  needed to display the psurface object in paraview.
     */
    void createHdfAndXdmf(const std::string&  xdf_filename, const std::string&  hdf_filename, bool base);

    /// Writes xdmf file so we can read hdf5 throught paraview
    void writeXdmf(const std::string&  xdf_filename, const std::string&  hdf_filename);

    /// Reads the parametrization from Hdf5 object
    void initCompletePSurface(Surface* surf, const std::string&  filename);
};
}// namespace psurface
#endif