OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::ObjectCount Class Reference
+ Inheritance diagram for OpenMD::ObjectCount:

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)
 
void setOutputName (const std::string &filename)
 
const std::string & getOutputFileName () const
 
void setStep (int step)
 
int getStep () const
 
const std::string & getAnalysisType () const
 
void setAnalysisType (const std::string &type)
 
void setParameterString (const std::string &params)
 

Protected Member Functions

void writeCounts ()
 
- Protected Member Functions inherited from OpenMD::StaticAnalyser
virtual void writeOutput ()
 

Protected Attributes

SnapshotcurrentSnapshot_
 
vector< int > counts_
 
RealType nAvg
 
RealType n2Avg
 
RealType sDev
 
std::string selectionScript_
 
SelectionManager seleMan_
 
SelectionEvaluator evaluator_
 
- Protected Attributes inherited from OpenMD::StaticAnalyser
SimInfoinfo_ {nullptr}
 
std::string dumpFilename_
 
int step_
 
unsigned int nBins_
 
std::string outputFilename_
 
std::string analysisType_
 
std::string paramString_
 
std::vector< OutputDatadata_
 
std::vector< AtomType * > outputTypes_
 

Detailed Description

Definition at line 55 of file ObjectCount.hpp.

Constructor & Destructor Documentation

◆ ObjectCount()

OpenMD::ObjectCount::ObjectCount ( SimInfo * info,
const std::string & filename,
const std::string & sele )

Definition at line 57 of file ObjectCount.cpp.

Member Function Documentation

◆ process()

void OpenMD::ObjectCount::process ( )
virtual

Implements OpenMD::StaticAnalyser.

Definition at line 70 of file ObjectCount.cpp.

◆ writeCounts()

void OpenMD::ObjectCount::writeCounts ( )
protected

Definition at line 104 of file ObjectCount.cpp.

Member Data Documentation

◆ counts_

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

Definition at line 66 of file ObjectCount.hpp.

◆ currentSnapshot_

Snapshot* OpenMD::ObjectCount::currentSnapshot_
protected

Definition at line 64 of file ObjectCount.hpp.

◆ evaluator_

SelectionEvaluator OpenMD::ObjectCount::evaluator_
protected

Definition at line 73 of file ObjectCount.hpp.

◆ n2Avg

RealType OpenMD::ObjectCount::n2Avg
protected

Definition at line 68 of file ObjectCount.hpp.

◆ nAvg

RealType OpenMD::ObjectCount::nAvg
protected

Definition at line 67 of file ObjectCount.hpp.

◆ sDev

RealType OpenMD::ObjectCount::sDev
protected

Definition at line 69 of file ObjectCount.hpp.

◆ selectionScript_

std::string OpenMD::ObjectCount::selectionScript_
protected

Definition at line 71 of file ObjectCount.hpp.

◆ seleMan_

SelectionManager OpenMD::ObjectCount::seleMan_
protected

Definition at line 72 of file ObjectCount.hpp.


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