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

#include <GofAngle2.hpp>

Inheritance diagram for OpenMD::GofAngle2:
OpenMD::RadialDistrFunc OpenMD::StaticAnalyser

Public Member Functions

 GofAngle2 (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, int nangleBins)
 
 GofAngle2 (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, const std::string &sele3, int nangleBins)
 
int getNAngleBins ()
 
- Public Member Functions inherited from OpenMD::RadialDistrFunc
 RadialDistrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, unsigned int nbins)
 
virtual ~RadialDistrFunc ()
 
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

virtual void preProcess ()
 
virtual void processNonOverlapping (SelectionManager &sman1, SelectionManager &sman2)
 
virtual void processOverlapping (SelectionManager &sman)
 
virtual void initializeHistogram ()
 
virtual void collectHistogram (StuntDouble *sd1, StuntDouble *sd2)
 
virtual void collectHistogram (StuntDouble *sd1, StuntDouble *sd2, StuntDouble *sd3)
 
virtual void processHistogram ()
 
virtual void writeRdf ()
 

Private Attributes

RealType deltaCosAngle_
 
int nAngleBins_
 
bool doSele3_
 
SelectionManager seleMan3_
 
SelectionEvaluator evaluator3_
 
std::string selectionScript3_
 
std::vector< std::vector< int > > histogram_
 
std::vector< std::vector< int > > avgGofr_
 
int npairs_
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::RadialDistrFunc
virtual void postProcess ()
 
int getNPairs ()
 
- 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::RadialDistrFunc
SnapshotcurrentSnapshot_
 
std::string selectionScript1_
 
std::string selectionScript2_
 
int nProcessed_
 
SelectionEvaluator evaluator1_
 
SelectionEvaluator evaluator2_
 
SelectionManager seleMan1_
 
SelectionManager seleMan2_
 
SelectionManager sele1_minus_common_
 
SelectionManager sele2_minus_common_
 
SelectionManager common_
 
- 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 48 of file GofAngle2.hpp.

Constructor & Destructor Documentation

◆ GofAngle2() [1/2]

OpenMD::GofAngle2::GofAngle2 ( SimInfo info,
const std::string &  filename,
const std::string &  sele1,
const std::string &  sele2,
int  nangleBins 
)

◆ GofAngle2() [2/2]

OpenMD::GofAngle2::GofAngle2 ( SimInfo info,
const std::string &  filename,
const std::string &  sele1,
const std::string &  sele2,
const std::string &  sele3,
int  nangleBins 
)

Member Function Documentation

◆ collectHistogram() [1/2]

◆ collectHistogram() [2/2]

◆ getNAngleBins()

int OpenMD::GofAngle2::getNAngleBins ( )
inline

◆ initializeHistogram()

void OpenMD::GofAngle2::initializeHistogram ( )
privatevirtual

Reimplemented from OpenMD::RadialDistrFunc.

Definition at line 179 of file GofAngle2.cpp.

References histogram_, and npairs_.

Referenced by getNAngleBins().

◆ preProcess()

void OpenMD::GofAngle2::preProcess ( )
privatevirtual

Reimplemented from OpenMD::RadialDistrFunc.

Definition at line 172 of file GofAngle2.cpp.

References avgGofr_.

Referenced by getNAngleBins().

◆ processHistogram()

void OpenMD::GofAngle2::processHistogram ( )
privatevirtual

Reimplemented from OpenMD::RadialDistrFunc.

Definition at line 186 of file GofAngle2.cpp.

Referenced by getNAngleBins().

◆ processNonOverlapping()

◆ processOverlapping()

◆ writeRdf()

Member Data Documentation

◆ avgGofr_

std::vector<std::vector<int> > OpenMD::GofAngle2::avgGofr_
private

Definition at line 84 of file GofAngle2.hpp.

Referenced by GofAngle2(), preProcess(), and writeRdf().

◆ deltaCosAngle_

RealType OpenMD::GofAngle2::deltaCosAngle_
private

Definition at line 75 of file GofAngle2.hpp.

Referenced by GofAngle2().

◆ doSele3_

bool OpenMD::GofAngle2::doSele3_
private

Definition at line 77 of file GofAngle2.hpp.

Referenced by processNonOverlapping(), processOverlapping(), and writeRdf().

◆ evaluator3_

SelectionEvaluator OpenMD::GofAngle2::evaluator3_
private

Definition at line 80 of file GofAngle2.hpp.

Referenced by GofAngle2(), processNonOverlapping(), and processOverlapping().

◆ histogram_

std::vector<std::vector<int> > OpenMD::GofAngle2::histogram_
private

Definition at line 83 of file GofAngle2.hpp.

Referenced by collectHistogram(), GofAngle2(), and initializeHistogram().

◆ nAngleBins_

int OpenMD::GofAngle2::nAngleBins_
private

Definition at line 76 of file GofAngle2.hpp.

Referenced by getNAngleBins().

◆ npairs_

int OpenMD::GofAngle2::npairs_
private

Definition at line 85 of file GofAngle2.hpp.

Referenced by collectHistogram(), and initializeHistogram().

◆ selectionScript3_

std::string OpenMD::GofAngle2::selectionScript3_
private

Definition at line 81 of file GofAngle2.hpp.

Referenced by writeRdf().

◆ seleMan3_

SelectionManager OpenMD::GofAngle2::seleMan3_
private

Definition at line 79 of file GofAngle2.hpp.

Referenced by GofAngle2(), processNonOverlapping(), and processOverlapping().


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