Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

RadialDensityHistogram Class Reference

Inheritance diagram for RadialDensityHistogram:

Inheritance graph
[legend]
Collaboration diagram for RadialDensityHistogram:

Collaboration graph
[legend]
List of all members.

Detailed Description

This creates a radial density histogram.

Author:
Brian Moore, John Schneiderman

Definition at line 33 of file radialdensityhist.h.

Public Member Functions

virtual void acquire (const Cluster &cluster)
 RadialDensityHistogram (const ConfigurationDatabase &conf)
virtual void write (int numAtoms, string base_name)

Private Attributes

double m_pi


Constructor & Destructor Documentation

RadialDensityHistogram::RadialDensityHistogram const ConfigurationDatabase conf  ) 
 

General constructor.

Parameters:
conf is the configuration for the radial density histograms.

Definition at line 33 of file radialdensityhist.cpp.

References ConfigurationDatabase::doubleValue(), ConfigurationDatabase::intValue(), m_pi, and BaseHistogram::m_pullingInterval.

Here is the call graph for this function:


Member Function Documentation

void RadialDensityHistogram::acquire const Cluster cluster  )  [virtual]
 

Take sample readings from a cluster to build a radial density histogram.

Parameters:
cluster is the cluster to pull the information from.

Implements BaseHistogram.

Definition at line 39 of file radialdensityhist.cpp.

References BaseHistogram::m_bins, BaseHistogram::m_histogramBin, BaseHistogram::m_max, BaseHistogram::m_min, BaseHistogram::m_numberHistogramsTaken, Cluster::positionCentreMass(), Cluster::size(), Coordinate::x, Coordinate::y, and Coordinate::z.

Referenced by MDLJ_Simulation::run(), and MCLJ_Simulation::run().

Here is the call graph for this function:

void RadialDensityHistogram::write int  numAtoms,
string  base_name
[virtual]
 

Writes out the radial density histogram values.

Parameters:
numAtoms is the number of atoms in the cluster.
base_name is the base name for the radial density histogram created using the file name base_name.rdh

Implements BaseHistogram.

Definition at line 56 of file radialdensityhist.cpp.

References BaseHistogram::m_bins, BaseHistogram::m_histogramBin, BaseHistogram::m_max, BaseHistogram::m_min, BaseHistogram::m_numberHistogramsTaken, m_pi, and Cluster::PRECISION.

Referenced by MDLJ_Simulation::run(), and MCLJ_Simulation::run().


Member Data Documentation

double RadialDensityHistogram::m_pi [private]
 

Parameters:
m_pi is the value of pi

Definition at line 55 of file radialdensityhist.h.

Referenced by RadialDensityHistogram(), and write().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 23:29:10 2006 for ClusterSim by  doxygen 1.4.4