BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RDFIntegrator.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_STRUCTURE_RDFINTEGRATOR_H
6 #define BALL_STRUCTURE_RDFINTEGRATOR_H
7 
8 #ifndef BALL_STRUCTURE_RADIALDISTRIBUTIONFUNCTION_H
10 #endif
11 
12 namespace BALL
13 {
20  {
21  public:
22 
24 
25 
28 
32  ;
33 
37  RDFIntegrator(const RDFIntegrator& integrator)
38  ;
39 
44  ;
45 
48  virtual ~RDFIntegrator()
49  ;
50 
52 
55 
60  const RDFIntegrator& operator = (const RDFIntegrator& integrator)
61  ;
62 
65  virtual void clear()
66  ;
67 
69 
70 
71 
76  bool operator == (const RDFIntegrator& integrator) const
77  ;
78 
82  virtual bool isValid() const
83  ;
84 
86 
87 
88 
93  void setRDF(const RadialDistributionFunction& rdf)
94  ;
95 
99  const RadialDistributionFunction& getRDF() const
100  ;
101 
108  virtual double operator () (double x) const
109  ;
110 
112 
113  protected:
114 
115  //_ The radial distribution function which is to be integrated.
117 
118  /*_ A flag indicating validity of this instance. A sole RDFIntegrator
119  instance cannot be valid, because it does not have any information
120  about the potential for which it should be the integrating means.
121  This flag is provided for derived classes.
122  */
123  bool valid_;
124 
125  };
126 
127 }
128 #endif // BALL_STRUCTURE_RDFINTEGRATOR_H