#include <radialDistributionFunction.h>
Public Member Functions | |
Constructors and Destructor. | |
RadialDistributionFunction () throw () | |
Default constructor. | |
RadialDistributionFunction (const RadialDistributionFunction &rdf) throw () | |
Copy constructor. | |
RadialDistributionFunction (const PiecewisePolynomial &polynomial) throw () | |
Detailed constructor. | |
virtual | ~RadialDistributionFunction () throw () |
Destructor. | |
Assignment. | |
const RadialDistributionFunction & | operator= (const RadialDistributionFunction &rdf) throw () |
Assignment operator. | |
virtual void | clear () throw () |
Clear function. | |
Accessors. | |
void | setRepresentation (const PiecewisePolynomial &polynomial) throw () |
Set the representing PiecewisePolynomial. | |
const PiecewisePolynomial & | getRepresentation () const throw () |
Get the representation of the RDF. | |
const Interval & | getRange () const throw () |
Get the range of the representing function. | |
virtual double | operator() (double x) const throw () |
Compute the value of the distribution function at a given x. | |
Predicates. | |
bool | isInRange (double x) const throw () |
Check, whether a given x is in the range of the RDF. | |
bool | isValid () const throw () |
Check validity. | |
bool | operator== (const RadialDistributionFunction &rdf) const throw () |
Equality operator. | |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const throw () |
Dumps the whole content of the object. | |
Protected Attributes | |
PiecewisePolynomial | representation_ |
bool | valid_ |
This class provides an interface for the use of radial distribution functions. These functions describe the deviation of the number density in a real fluid from the ideal (isotropic) case. The representation of such a function is a piecewise polynomial obtained by smoothing spline fit from molecular dynamics simulation.
|
Default constructor.
|
|
Copy constructor.
|
|
Detailed constructor.
|
|
Destructor.
|
|
Clear function.
|
|
Dumps the whole content of the object.
|
|
Get the range of the representing function.
|
|
Get the representation of the RDF.
|
|
Check, whether a given x is in the range of the RDF.
|
|
Check validity.
|
|
Compute the value of the distribution function at a given x.
|
|
Assignment operator.
|
|
Equality operator.
|
|
Set the representing PiecewisePolynomial.
|