#include <radialDistributionFunction.h>
Public Member Functions |
|
|
Constructors and Destructor.
|
|
| RadialDistributionFunction () | |
| Default constructor. |
|
| RadialDistributionFunction (const RadialDistributionFunction &rdf) | |
| Copy constructor. |
|
| RadialDistributionFunction (const PiecewisePolynomial &polynomial) | |
| Detailed constructor. |
|
| virtual | ~RadialDistributionFunction () |
| Destructor. |
|
|
Assignment.
|
|
| const RadialDistributionFunction & | operator= (const RadialDistributionFunction &rdf) |
| Assignment operator. |
|
| virtual void | clear () |
| Clear function. |
|
|
Accessors.
|
|
| void | setRepresentation (const PiecewisePolynomial &polynomial) |
| Set the representing PiecewisePolynomial. |
|
| const PiecewisePolynomial & | getRepresentation () const |
| Get the representation of the
RDF. |
|
| const Interval & | getRange () const |
| Get the range of the representing
function. |
|
| virtual double | operator() (double x) const |
| Compute the value of the
distribution function at a given x. |
|
|
Predicates.
|
|
| bool | isInRange (double x) const |
| Check, whether a given x is in the
range of the RDF. |
|
| bool | isValid () const |
| Check validity. |
|
| bool | operator== (const RadialDistributionFunction &rdf) const |
| Equality operator. |
|
| virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
| Debugging and Diagnostics. |
|
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.
| virtual void BALL::RadialDistributionFunction::dump | ( | std::ostream & | s =
std::cout, |
|
| Size | depth =
0 |
|||
| ) | const [virtual] |
Debugging and Diagnostics.
Dumps the whole content of the object.
1.5.8