#include <BALL/STRUCTURE/RDFIntegrator.h>
Public Member Functions | |
Constructors and destructors | |
RDFIntegrator () | |
RDFIntegrator (const RDFIntegrator &integrator) | |
RDFIntegrator (const RadialDistributionFunction &rdf) | |
virtual | ~RDFIntegrator () |
Assignment | |
const RDFIntegrator & | operator= (const RDFIntegrator &integrator) |
virtual void | clear () |
bool | operator== (const RDFIntegrator &integrator) const |
Predicates. | |
virtual bool | isValid () const |
void | setRDF (const RadialDistributionFunction &rdf) |
Accessors. | |
const RadialDistributionFunction & | getRDF () const |
virtual double | operator() (double x) const |
Protected Attributes | |
RadialDistributionFunction | rdf_ |
bool | valid_ |
Integrator class for radial distribution functions. This class provides the integration functionality needed for the computation of interaction energies.
BALL::RDFIntegrator::RDFIntegrator | ( | ) |
Default constructor
BALL::RDFIntegrator::RDFIntegrator | ( | const RDFIntegrator & | integrator | ) |
Copy constructor.
integrator | the integrator to copy from |
BALL::RDFIntegrator::RDFIntegrator | ( | const RadialDistributionFunction & | rdf | ) |
Detailed constructor.
rdf | the radial distribution function to initialize this with |
virtual BALL::RDFIntegrator::~RDFIntegrator | ( | ) | [virtual] |
Destructor
virtual void BALL::RDFIntegrator::clear | ( | ) | [virtual] |
Clear function.
Reimplemented in BALL::Pair6_12RDFIntegrator, and BALL::PairExpRDFIntegrator.
const RadialDistributionFunction& BALL::RDFIntegrator::getRDF | ( | ) | const |
Get the radial distribution function of this instance.
virtual bool BALL::RDFIntegrator::isValid | ( | ) | const [virtual] |
Validity test. Return the valid flag.
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.
x | the lower limit of the integration |
Reimplemented in BALL::Pair6_12RDFIntegrator, and BALL::PairExpRDFIntegrator.
const RDFIntegrator& BALL::RDFIntegrator::operator= | ( | const RDFIntegrator & | integrator | ) |
Assignment operator.
integrator | the integrator to assign from |
bool BALL::RDFIntegrator::operator== | ( | const RDFIntegrator & | integrator | ) | const |
Predicates.
Equality operator
integrator | the integrator which we want to compare to {this} |
void BALL::RDFIntegrator::setRDF | ( | const RadialDistributionFunction & | rdf | ) |
Accessors.
Set the radial distribution function of this instance.
rdf | a radial distribution function |
RadialDistributionFunction BALL::RDFIntegrator::rdf_ [protected] |
bool BALL::RDFIntegrator::valid_ [protected] |