OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::ObjectCount Class Reference

#include <ObjectCount.hpp>

Inheritance diagram for OpenMD::ObjectCount:
OpenMD::StaticAnalyser

Public Member Functions

 ObjectCount (SimInfo *info, const std::string &filename, const std::string &sele)
 
virtual void process ()
 
- Public Member Functions inherited from OpenMD::StaticAnalyser
 StaticAnalyser (SimInfo *info, const std::string &filename, unsigned int nbins)
 
virtual ~StaticAnalyser ()
 
void setOutputName (const std::string &filename)
 
const std::string & getOutputFileName () const
 
void setStep (int step)
 
int getStep ()
 
const std::string & getAnalysisType () const
 
void setAnalysisType (const std::string &type)
 
void setParameterString (const std::string &params)
 

Private Member Functions

void writeCounts ()
 

Private Attributes

SnapshotcurrentSnapshot_
 
vector< int > counts_
 
RealType nAvg
 
RealType n2Avg
 
RealType sDev
 
std::string selectionScript_
 
SelectionManager seleMan_
 
SelectionEvaluator evaluator_
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::StaticAnalyser
virtual void writeOutput ()
 
virtual void writeData (ostream &os, OutputData *dat, unsigned int bin)
 
virtual void writeErrorBars (ostream &os, OutputData *dat, unsigned int bin)
 
OutputDatabeginOutputData (vector< OutputData *>::iterator &i)
 
OutputDatanextOutputData (vector< OutputData *>::iterator &i)
 
- Protected Attributes inherited from OpenMD::StaticAnalyser
SimInfoinfo_
 
std::string dumpFilename_
 
std::string outputFilename_
 
int step_
 
std::string analysisType_
 
std::string paramString_
 
unsigned int nBins_
 
OutputDatacounts_
 
vector< OutputData * > data_
 

Detailed Description

Definition at line 51 of file ObjectCount.hpp.

Constructor & Destructor Documentation

◆ ObjectCount()

Member Function Documentation

◆ process()

◆ writeCounts()

void OpenMD::ObjectCount::writeCounts ( )
private

Member Data Documentation

◆ counts_

vector<int> OpenMD::ObjectCount::counts_
private

Definition at line 61 of file ObjectCount.hpp.

Referenced by process(), and writeCounts().

◆ currentSnapshot_

Snapshot* OpenMD::ObjectCount::currentSnapshot_
private

Definition at line 59 of file ObjectCount.hpp.

Referenced by process().

◆ evaluator_

SelectionEvaluator OpenMD::ObjectCount::evaluator_
private

Definition at line 68 of file ObjectCount.hpp.

Referenced by ObjectCount(), and process().

◆ n2Avg

RealType OpenMD::ObjectCount::n2Avg
private

Definition at line 63 of file ObjectCount.hpp.

Referenced by process(), and writeCounts().

◆ nAvg

RealType OpenMD::ObjectCount::nAvg
private

Definition at line 62 of file ObjectCount.hpp.

Referenced by process(), and writeCounts().

◆ sDev

RealType OpenMD::ObjectCount::sDev
private

Definition at line 64 of file ObjectCount.hpp.

Referenced by process(), and writeCounts().

◆ selectionScript_

std::string OpenMD::ObjectCount::selectionScript_
private

Definition at line 66 of file ObjectCount.hpp.

Referenced by writeCounts().

◆ seleMan_

SelectionManager OpenMD::ObjectCount::seleMan_
private

Definition at line 67 of file ObjectCount.hpp.

Referenced by ObjectCount(), and process().


The documentation for this class was generated from the following files: