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

#include <SpatialStatistics.hpp>

Inheritance diagram for OpenMD::SlabStatistics:
OpenMD::SpatialStatistics OpenMD::StaticAnalyser OpenMD::RNEMDZ

Public Member Functions

 SlabStatistics (SimInfo *info, const string &filename, const string &sele, int nbins, int axis)
virtual ~SlabStatistics ()
virtual int getBin (Vector3d pos)
virtual void processFrame (int frame)
- Public Member Functions inherited from OpenMD::SpatialStatistics
 SpatialStatistics (SimInfo *info, const string &filename, const string &sele, int nbins)
 ~SpatialStatistics ()
void addOutputData (OutputData *dat)
virtual void process ()
virtual void processStuntDouble (StuntDouble *sd, int bin)=0
- 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)

Protected Attributes

Mat3x3d hmat_
RealType volume_
int axis_
std::string axisLabel_
- Protected Attributes inherited from OpenMD::SpatialStatistics
int nProcessed_
string selectionScript_
SelectionEvaluator evaluator_
SelectionManager seleMan_
- Protected Attributes inherited from OpenMD::StaticAnalyser
std::string dumpFilename_
std::string outputFilename_
int step_
std::string analysisType_
std::string paramString_
unsigned int nBins_
vector< OutputData * > data_

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)

Detailed Description

Definition at line 83 of file SpatialStatistics.hpp.

Constructor & Destructor Documentation

◆ SlabStatistics()

OpenMD::SlabStatistics::SlabStatistics ( SimInfo info,
const string &  filename,
const string &  sele,
int  nbins,
int  axis 

◆ ~SlabStatistics()

OpenMD::SlabStatistics::~SlabStatistics ( )

Definition at line 155 of file SpatialStatistics.cpp.

Member Function Documentation

◆ getBin()

int OpenMD::SlabStatistics::getBin ( Vector3d  pos)

◆ processFrame()

Member Data Documentation

◆ axis_

int OpenMD::SlabStatistics::axis_

Definition at line 95 of file SpatialStatistics.hpp.

Referenced by getBin(), and SlabStatistics().

◆ axisLabel_

std::string OpenMD::SlabStatistics::axisLabel_

Definition at line 96 of file SpatialStatistics.hpp.

Referenced by SlabStatistics().

◆ hmat_

Mat3x3d OpenMD::SlabStatistics::hmat_

Definition at line 93 of file SpatialStatistics.hpp.

Referenced by getBin(), OpenMD::RNEMDZ::processFrame(), and processFrame().

◆ volume_

RealType OpenMD::SlabStatistics::volume_

Definition at line 94 of file SpatialStatistics.hpp.

Referenced by OpenMD::RNEMDZ::processFrame(), and processFrame().

◆ z_

OutputData* OpenMD::SlabStatistics::z_

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