BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
STRUCTURE
radialDistributionFunction.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_RADIALDISTRIBUTIONFUNCTION_H
6
#define BALL_STRUCTURE_RADIALDISTRIBUTIONFUNCTION_H
7
8
#ifndef BALL_MATHS_PPOLYNOMIAL_H
9
# include <
BALL/MATHS/piecewisePolynomial.h
>
10
#endif
11
12
namespace
BALL
13
{
22
class
BALL_EXPORT
RadialDistributionFunction
23
{
24
public
:
25
26
BALL_CREATE
(
RadialDistributionFunction
)
27
28
31
34
RadialDistributionFunction
()
35
;
36
39
RadialDistributionFunction
(
const
RadialDistributionFunction
& rdf)
40
;
41
44
RadialDistributionFunction
(
const
PiecewisePolynomial
& polynomial)
45
;
46
49
virtual
~
RadialDistributionFunction
()
50
;
51
53
56
59
const
RadialDistributionFunction
& operator = (
const
RadialDistributionFunction
& rdf)
60
;
61
64
virtual
void
clear()
65
;
66
68
71
74
void
setRepresentation(
const
PiecewisePolynomial
& polynomial)
75
;
76
79
const
PiecewisePolynomial
& getRepresentation()
const
80
;
81
84
const
Interval
& getRange()
const
85
;
86
89
virtual
double
operator () (
double
x)
const
90
;
91
93
96
99
bool
isInRange(
double
x)
const
100
;
101
104
bool
isValid()
const
105
;
106
109
bool
operator == (
const
RadialDistributionFunction
& rdf)
const
110
;
111
113
116
119
virtual
void
dump (std::ostream& s = std::cout,
Size
depth = 0)
const
120
;
121
123
124
protected
:
125
126
/*_ The representation of the RDF.
127
*/
128
PiecewisePolynomial
representation_
;
129
130
/*_ The valid flag.
131
*/
132
bool
valid_
;
133
134
};
135
136
}
137
138
#endif // BALL_STRUCTURE_RADIALDISTRIBUTIONFUNCTION_H
Generated by
1.8.3.1