BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Protected Attributes
BALL::RadialDistributionFunction Class Reference

#include <BALL/STRUCTURE/radialDistributionFunction.h>

List of all members.

Public Member Functions

Constructors and Destructor.
 RadialDistributionFunction ()
 RadialDistributionFunction (const RadialDistributionFunction &rdf)
 RadialDistributionFunction (const PiecewisePolynomial &polynomial)
virtual ~RadialDistributionFunction ()
Assignment.
const RadialDistributionFunctionoperator= (const RadialDistributionFunction &rdf)
virtual void clear ()
Accessors.
void setRepresentation (const PiecewisePolynomial &polynomial)
const PiecewisePolynomialgetRepresentation () const
const IntervalgetRange () const
virtual double operator() (double x) const
Predicates.
bool isInRange (double x) const
bool isValid () const
bool operator== (const RadialDistributionFunction &rdf) const
virtual void dump (std::ostream &s=std::cout, Size depth=0) const

Protected Attributes

PiecewisePolynomial representation_
bool valid_

Detailed Description

Radial distribution function. 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.

Definition at line 22 of file radialDistributionFunction.h.


Constructor & Destructor Documentation

Default constructor.

Copy constructor.

Detailed constructor.

Destructor.


Member Function Documentation

virtual void BALL::RadialDistributionFunction::clear ( ) [virtual]

Clear function.

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.

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.

virtual double BALL::RadialDistributionFunction::operator() ( double  x) const [virtual]

Compute the value of the distribution function at a given x.

const RadialDistributionFunction& BALL::RadialDistributionFunction::operator= ( const RadialDistributionFunction rdf)

Assignment operator.

bool BALL::RadialDistributionFunction::operator== ( const RadialDistributionFunction rdf) const

Equality operator.

Set the representing PiecewisePolynomial.


Member Data Documentation

Definition at line 128 of file radialDistributionFunction.h.

Definition at line 132 of file radialDistributionFunction.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines