This file is indexed.

/usr/include/dune/common/precision.hh is in libdune-common-dev 2.2.1-2.

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
76
77
#ifndef DUNE_PRECISION_HH
#define DUNE_PRECISION_HH

/** \file
 * \brief Various precision settings for calculations with FieldMatrix and FieldVector
 */

#include <stdlib.h>

namespace Dune {
   
    /** 
	@addtogroup DenseMatVec 
	@{
     */

  /**
   * @brief Precisions for calculations with FieldMatrix and FieldVector.
   */
  template <class ctype = double>
  class FMatrixPrecision {
  public:
	//! return threshold to do pivoting
	static ctype pivoting_limit ()
	{
	  return _pivoting;
	}

	//! set pivoting threshold
	static void set_pivoting_limit (ctype pivthres)
	{
	  _pivoting = pivthres;
	}

	//! return threshold to declare matrix singular
	static ctype singular_limit ()
	{
	  return _singular;
	}

	//! set singular threshold
	static void set_singular_limit (ctype singthres)
	{
	  _singular = singthres;
	}

	//! return threshold to declare matrix singular
	static ctype absolute_limit ()
	{
	  return _absolute;
	}

	//! set singular threshold
	static void set_absolute_limit (ctype absthres)
	{
	  _absolute = absthres;
	}

  private:
	// just to demonstrate some state information
	static ctype _pivoting;
	static ctype _singular;
	static ctype _absolute;
  };

  template <class ctype>
  ctype FMatrixPrecision<ctype>::_pivoting = 1E-8;
  template <class ctype>
  ctype FMatrixPrecision<ctype>::_singular = 1E-14;
  template <class ctype>
  ctype FMatrixPrecision<ctype>::_absolute = 1E-80;
 
  /** @} end documentation */

} // end namespace

#endif