BALL
1.4.79
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
piecewisePolynomial.h
BALL::Interval
std::pair< double, double > Interval
Definition:
piecewiseFunction.h:23
BALL_CREATE
#define BALL_CREATE(name)
Definition:
create.h:62
BALL::PiecewisePolynomial
Definition:
piecewisePolynomial.h:27
BALL::RadialDistributionFunction::representation_
PiecewisePolynomial representation_
Definition:
radialDistributionFunction.h:128
BALL::RadialDistributionFunction
Definition:
radialDistributionFunction.h:22
BALL::operator==
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL_SIZE_TYPE
BALL::RadialDistributionFunction::valid_
bool valid_
Definition:
radialDistributionFunction.h:132
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.7