OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::SystemACF< T > Class Template Referenceabstract
Inheritance diagram for OpenMD::SystemACF< T >:

Public Member Functions

 SystemACF (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
 SystemACF (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
Public Member Functions inherited from OpenMD::AutoCorrFunc< T >
 AutoCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
 AutoCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
Public Member Functions inherited from OpenMD::TimeCorrFunc< T >
 TimeCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
virtual void doCorrelate ()
const std::string & getCorrFuncType () const
void setCorrFuncType (const std::string &type)
void setParameterString (const std::string &params)
void setLabelString (const std::string &label)
 TimeCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
void setWindowingParameters (RealType tcorr_fs, int nStart, RealType tsep_fs)
virtual void doCorrelate ()
const std::string & getCorrFuncType () const
void setCorrFuncType (const std::string &type)
void setParameterString (const std::string &params)
void setLabelString (const std::string &label)
Public Member Functions inherited from OpenMD::DynamicProperty
void setOutputName (const std::string &filename)
const std::string & getOutputFileName () const
void setSelectionModeRestart ()

Protected Member Functions

virtual void computeProperty1 (int frame)=0
virtual T calcCorrVal (int frame1, int frame2)=0
virtual int computeProperty1 (int, Molecule *)
virtual int computeProperty1 (int, StuntDouble *)
virtual int computeProperty1 (int, Bond *)
virtual void computeProperty2 (int)
virtual int computeProperty2 (int, Molecule *)
virtual int computeProperty2 (int, StuntDouble *)
virtual int computeProperty2 (int, Bond *)
calcCorrVal (int, int, int, int)
virtual void computeProperty1 (int frame)=0
virtual T calcCorrVal (int frame1, int frame2)=0
virtual int computeProperty1 (int, Molecule *)
virtual int computeProperty1 (int, StuntDouble *)
virtual int computeProperty1 (int, Bond *)
virtual void computeProperty2 (int)
virtual int computeProperty2 (int, Molecule *)
virtual int computeProperty2 (int, StuntDouble *)
virtual int computeProperty2 (int, Bond *)
calcCorrVal (int, int, int, int)
Protected Member Functions inherited from OpenMD::TimeCorrFunc< T >
virtual void preCorrelate ()
virtual void correlation ()
virtual void postCorrelate ()
virtual void computeFrame (int frame)
virtual void validateSelection (SelectionManager &seleMan)
virtual void correlateFrames (int frame1, int frame2, int timeBin)
virtual void writeCorrelate ()
virtual void preCorrelate ()
virtual void correlation ()
virtual void postCorrelate ()
virtual void computeFrame (int frame)
virtual void validateSelection (SelectionManager &seleMan)
virtual void correlateFrames (int frame1, int frame2, int timeBin)
virtual void writeCorrelate ()
void writeCorrelate ()
void writeCorrelate ()
void writeCorrelate ()
void writeCorrelate ()

Additional Inherited Members

Protected Attributes inherited from OpenMD::TimeCorrFunc< T >
RealType deltaTime_
unsigned int nTimeBins_
int nFrames_
std::vector< T > histogram_
std::vector< int > count_
std::vector< RealType > times_
RealType dtMean_ {}
RealType dtSigma_ {}
SimInfoinfo_ {nullptr}
DumpReaderreader_
std::string dumpFilename_
SelectionManager seleMan1_
SelectionManager seleMan2_
SnapshotcurrentSnapshot_
std::string selectionScript1_
std::string selectionScript2_
SelectionEvaluator evaluator1_
SelectionEvaluator evaluator2_
bool uniqueSelections_
bool autoCorrFunc_
bool doSystemProperties_
bool doMolecularProperties_
bool doObjectProperties_
bool doAtomicProperties_
bool doBondProperties_
bool allowTimeFuzz_
std::string corrFuncType_
std::string paramString_
std::string labelString_
std::vector< std::vector< int > > sele1ToIndex_
std::vector< std::vector< int > > sele2ToIndex_
ProgressBarPtr progressBar_
std::vector< std::vector< int > > GIDtoSele1_
std::vector< std::vector< int > > GIDtoSele2_
std::vector< std::vector< int > > selection1StartFrame_
std::vector< std::vector< int > > selection2StartFrame_
int nStart_ {0}
int nSep_ {0}
int nStride_ {1}
int navg_ {0}
bool useWindowing_ {false}
Protected Attributes inherited from OpenMD::DynamicProperty
std::string outputFilename_
bool selectionModeRestart_

Detailed Description

template<typename T>
class OpenMD::SystemACF< T >

Definition at line 191 of file TimeCorrFunc.hpp.

Constructor & Destructor Documentation

◆ SystemACF()

template<typename T>
OpenMD::SystemACF< T >::SystemACF ( SimInfo * info,
const std::string & filename,
const std::string & sele1,
const std::string & sele2 )

Definition at line 552 of file TimeCorrFunc.cpp.

Member Function Documentation

◆ calcCorrVal() [1/4]

template<typename T>
virtual T OpenMD::SystemACF< T >::calcCorrVal ( int frame1,
int frame2 )
protectedpure virtual

◆ calcCorrVal() [2/4]

template<typename T>
virtual T OpenMD::SystemACF< T >::calcCorrVal ( int frame1,
int frame2 )
protectedpure virtual

◆ calcCorrVal() [3/4]

template<typename T>
T OpenMD::SystemACF< T >::calcCorrVal ( int ,
int ,
int ,
int  )
inlineprotectedvirtual

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 209 of file TimeCorrFunc.hpp.

◆ calcCorrVal() [4/4]

template<typename T>
T OpenMD::SystemACF< T >::calcCorrVal ( int ,
int ,
int ,
int  )
inlineprotectedvirtual

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 290 of file TimeCorrFunc.hpp.

◆ computeProperty1() [1/8]

template<typename T>
virtual void OpenMD::SystemACF< T >::computeProperty1 ( int frame)
protectedpure virtual

◆ computeProperty1() [2/8]

template<typename T>
virtual void OpenMD::SystemACF< T >::computeProperty1 ( int frame)
protectedpure virtual

◆ computeProperty1() [3/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty1 ( int ,
Bond *  )
inlineprotectedvirtual

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 202 of file TimeCorrFunc.hpp.

◆ computeProperty1() [4/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty1 ( int ,
Bond *  )
inlineprotectedvirtual

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 283 of file TimeCorrFunc.hpp.

◆ computeProperty1() [5/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty1 ( int ,
Molecule *  )
inlineprotectedvirtual

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 200 of file TimeCorrFunc.hpp.

◆ computeProperty1() [6/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty1 ( int ,
Molecule *  )
inlineprotectedvirtual

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 281 of file TimeCorrFunc.hpp.

◆ computeProperty1() [7/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty1 ( int ,
StuntDouble *  )
inlineprotectedvirtual

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 201 of file TimeCorrFunc.hpp.

◆ computeProperty1() [8/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty1 ( int ,
StuntDouble *  )
inlineprotectedvirtual

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 282 of file TimeCorrFunc.hpp.

◆ computeProperty2() [1/8]

template<typename T>
virtual void OpenMD::SystemACF< T >::computeProperty2 ( int )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 204 of file TimeCorrFunc.hpp.

◆ computeProperty2() [2/8]

template<typename T>
virtual void OpenMD::SystemACF< T >::computeProperty2 ( int )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 285 of file TimeCorrFunc.hpp.

◆ computeProperty2() [3/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty2 ( int ,
Bond *  )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 207 of file TimeCorrFunc.hpp.

◆ computeProperty2() [4/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty2 ( int ,
Bond *  )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 288 of file TimeCorrFunc.hpp.

◆ computeProperty2() [5/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty2 ( int ,
Molecule *  )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 205 of file TimeCorrFunc.hpp.

◆ computeProperty2() [6/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty2 ( int ,
Molecule *  )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 286 of file TimeCorrFunc.hpp.

◆ computeProperty2() [7/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty2 ( int ,
StuntDouble *  )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 206 of file TimeCorrFunc.hpp.

◆ computeProperty2() [8/8]

template<typename T>
virtual int OpenMD::SystemACF< T >::computeProperty2 ( int ,
StuntDouble *  )
inlineprotectedvirtual

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 287 of file TimeCorrFunc.hpp.


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