This file is indexed.

/usr/include/BALL/STRUCTURE/RDFIntegrator.h is in libball1.4-dev 1.4.3~beta1-4.

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
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//

#ifndef BALL_STRUCTURE_RDFINTEGRATOR_H
#define BALL_STRUCTURE_RDFINTEGRATOR_H

#ifndef BALL_STRUCTURE_RADIALDISTRIBUTIONFUNCTION_H
# include <BALL/STRUCTURE/radialDistributionFunction.h>
#endif

namespace BALL
{
	/** Integrator class for radial distribution functions.
			This class provides the integration functionality needed for the
			computation of interaction energies.	 \par
	\ingroup RDF
  */
	class BALL_EXPORT RDFIntegrator
	{
		public:

		BALL_CREATE(RDFIntegrator)

		/** @name Constructors and destructors 
		*/
		//@{

		/** Default constructor 
		*/
		RDFIntegrator()
			;

		/** Copy constructor.
				@param integrator the integrator to copy from
		*/
		RDFIntegrator(const RDFIntegrator& integrator)
			;

		/** Detailed constructor.
				@param rdf the radial distribution function to initialize <b>  this </b> with
		*/
		RDFIntegrator(const RadialDistributionFunction& rdf)
			;

		/** Destructor 
		*/
		virtual ~RDFIntegrator()
			;

		//@}
		/** @name Assignment 
		*/
		//@{

		/** Assignment operator.
				@param integrator the integrator to assign from
				@return a constant reference to <b>  this </b>
		*/
		const RDFIntegrator& operator = (const RDFIntegrator& integrator)
			;

		/** Clear function.
		*/
		virtual void clear()
			;

		//@}
		/// Predicates
		//@{

		/** Equality operator
				@param integrator the integrator which we want to compare to {\em	this}
				@return true, if the instances are equal, false ow.
		*/
		bool operator == (const RDFIntegrator& integrator) const
			;

		/** Validity test. Return the valid flag.
				@return true, if this instance is valid.
		*/
		virtual bool isValid() const 
			;

		//@}
		/// Accessors
		//@{

		/** Set the radial distribution function of this instance.
				@param rdf a radial distribution function
				@see RadialDistributionFunction
		*/
		void setRDF(const RadialDistributionFunction& rdf)
			;

		/** Get the radial distribution function of this instance.
				@return a const reference to the radial distribution function
		*/
		const RadialDistributionFunction& getRDF() const
			;

		/** Compute the value of the integral at a given x. This function
				should not be called, because it is merely a sort of prototype
				defining interface for derived classes. It always returns 0.0.
				@param x the lower limit of the integration
				@return always 0.0
		*/
		virtual double operator () (double x) const
			;

		//@}

		protected:

		//_ The radial distribution function which is to be integrated.
		RadialDistributionFunction rdf_;

		/*_ A flag indicating validity of this instance. A sole RDFIntegrator
				instance cannot be valid, because it does not have any information
				about the potential for which it should be the integrating means.
				This flag is provided for derived classes.
		*/
		bool valid_;

	};
   
}
#endif // BALL_STRUCTURE_RDFINTEGRATOR_H