This file is indexed.

/usr/include/dune/grid-glue/common/projectionwriter.hh is in libdune-grid-glue-dev 2.4.0-1build1.

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
#ifndef DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH
#define DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH

#include <iostream>
#include <string>

#include <dune/grid-glue/common/projection.hh>

namespace Dune {
namespace GridGlue {

/**
 * \brief write projection in VTK format
 *
 * This file writes the projection information in VTK format to the given output
 * stream. It is intended to be used for debugging so the details of the output
 * might change at any time.
 *
 * \note This currently only works in 3D!
 *
 * \param projection projection result
 * \param corners corners of the projected triangles
 * \param normals normals of the projected triangles
 * \param out output stream
 */
template<typename Coordinate, typename Corners, typename Normals>
void write(const Projection<Coordinate>& projection,
           const Corners& corners,
           const Normals& normals,
           std::ostream& out);

/**
 * \brief write projection in VTK format
 *
 * This function works the same as \ref write(const Projection<Coordinate>&, const Corners&, const Normals&, std::ostream&)
 * but creates a new file with the given name.
 */
template<typename Coordinate, typename Corners, typename Normals>
void write(const Projection<Coordinate>& projection,
           const Corners& corners,
           const Normals& normals,
           const std::string& filename);

} /* namespace GridGlue */
} /* namespace Dune */

#include "projectionwriter_impl.hh"

#endif