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

KineticEnergyHistogram Class Reference

Inheritance diagram for KineticEnergyHistogram:

Inheritance graph
[legend]
Collaboration diagram for KineticEnergyHistogram:

Collaboration graph
[legend]
List of all members.

Detailed Description

This creates a kinetic energy histogram.

Author:
Brian Moore, John Schneiderman

Definition at line 33 of file kineticenergyhist.h.

Public Member Functions

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


Constructor & Destructor Documentation

KineticEnergyHistogram::KineticEnergyHistogram const ConfigurationDatabase conf  ) 
 

General constructor.

Parameters:
conf is the configuration for the kinetic energy histograms.

Definition at line 30 of file kineticenergyhist.cpp.

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

Here is the call graph for this function:


Member Function Documentation

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

Take sample readings from a cluster to build a kinetic energy histogram.

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

Implements BaseHistogram.

Definition at line 35 of file kineticenergyhist.cpp.

References BaseHistogram::m_bins, BaseHistogram::m_histogramBin, BaseHistogram::m_max, BaseHistogram::m_min, BaseHistogram::m_numberHistogramsTaken, and Cluster::size().

Referenced by MDLJ_Simulation::run().

Here is the call graph for this function:

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

Writes out the kinetic energy histogram values.

Parameters:
numAtoms is the number of atoms in the cluster.
base_name is the base name for the kinetic energy histogram created using the file name base_name.keh

Implements BaseHistogram.

Definition at line 49 of file kineticenergyhist.cpp.

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

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


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