OpenMD 3.1
Molecular Dynamics in the Open
|
#include <CoordinationNumber.hpp>
Public Member Functions | |
CoordinationNumber (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, RealType rCut, int bins) | |
virtual void | process () |
virtual void | writeOutput () |
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 ¶ms) |
Protected Member Functions | |
virtual RealType | computeCoordination (int a, vector< vector< int > > neighbors) |
Protected Attributes | |
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 | |
SimInfo * | info_ {nullptr} |
std::string | dumpFilename_ |
int | step_ |
unsigned int | nBins_ |
std::string | outputFilename_ |
std::string | analysisType_ |
std::string | paramString_ |
std::vector< OutputData > | data_ |
std::vector< AtomType * > | outputTypes_ |
Computes a distribution of coordination numbers defined as the number of atoms in sele2 that are within rCut of the atom in sele1
Note that extra parameters must be declared:
rCut | cutoff radius for finding lists of nearest neighbors |
sele1 | selection of StuntDoubles used for the distribution |
sele2 | selection of StuntDoubles used for nearest neighbor computation |
Definition at line 72 of file CoordinationNumber.hpp.
OpenMD::CoordinationNumber::CoordinationNumber | ( | SimInfo * | info, |
const std::string & | filename, | ||
const std::string & | sele1, | ||
const std::string & | sele2, | ||
RealType | rCut, | ||
int | bins ) |
Definition at line 57 of file CoordinationNumber.cpp.
|
protectedvirtual |
Definition at line 207 of file CoordinationNumber.cpp.
|
virtual |
Implements OpenMD::StaticAnalyser.
Definition at line 90 of file CoordinationNumber.cpp.
|
virtual |
Reimplemented from OpenMD::StaticAnalyser.
Definition at line 212 of file CoordinationNumber.cpp.
|
protected |
Definition at line 85 of file CoordinationNumber.hpp.
|
protected |
Definition at line 99 of file CoordinationNumber.hpp.
|
protected |
Definition at line 98 of file CoordinationNumber.hpp.
|
protected |
Definition at line 89 of file CoordinationNumber.hpp.
|
protected |
Definition at line 93 of file CoordinationNumber.hpp.
|
protected |
Definition at line 100 of file CoordinationNumber.hpp.
|
protected |
Definition at line 97 of file CoordinationNumber.hpp.
|
protected |
Definition at line 84 of file CoordinationNumber.hpp.
|
protected |
Definition at line 87 of file CoordinationNumber.hpp.
|
protected |
Definition at line 91 of file CoordinationNumber.hpp.
|
protected |
Definition at line 95 of file CoordinationNumber.hpp.
|
protected |
Definition at line 96 of file CoordinationNumber.hpp.
|
protected |
Definition at line 88 of file CoordinationNumber.hpp.
|
protected |
Definition at line 92 of file CoordinationNumber.hpp.