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

Secondary Coordinate Number. More...

#include <CoordinationNumber.hpp>

Inheritance diagram for OpenMD::SCN:
OpenMD::CoordinationNumber OpenMD::StaticAnalyser

Public Member Functions

 SCN (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, RealType rCut, int bins)
virtual ~SCN ()
virtual RealType computeCoordination (int a, vector< vector< int > > neighbors)
- Public Member Functions inherited from OpenMD::CoordinationNumber
 CoordinationNumber (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, RealType rCut, int bins)
virtual ~CoordinationNumber ()
virtual void process ()
virtual void writeOutput ()
- 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)

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::StaticAnalyser
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::CoordinationNumber
RealType rCut_
int bins_
std::string sele1_
SelectionManager seleMan1_
SelectionEvaluator evaluator1_
std::string sele2_
SelectionManager seleMan2_
SelectionEvaluator evaluator2_
int selectionCount1_
int selectionCount2_
int nnMax_
RealType delta_
int count_
std::vector< RealType > histogram_
- 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_

Detailed Description

Secondary Coordinate Number.

Computes a distribution of secondary coordination numbers where each atom is assigned the mean coordination number of the neighboring atoms.

Definition at line 107 of file CoordinationNumber.hpp.

Constructor & Destructor Documentation

◆ SCN()

OpenMD::SCN::SCN ( SimInfo info,
const std::string &  filename,
const std::string &  sele1,
const std::string &  sele2,
RealType  rCut,
int  bins 

◆ ~SCN()

OpenMD::SCN::~SCN ( )

Definition at line 252 of file CoordinationNumber.cpp.

Member Function Documentation

◆ computeCoordination()

RealType OpenMD::SCN::computeCoordination ( int  a,
vector< vector< int > >  neighbors 

Reimplemented from OpenMD::CoordinationNumber.

Definition at line 255 of file CoordinationNumber.cpp.

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