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

Public Member Functions

 AutoCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, int storageLayout)
 
 AutoCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
 
- Public Member Functions inherited from OpenMD::MultipassCorrFunc< T >
 MultipassCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2, int storageLayout)
 
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
 
- 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)
 

Protected Member Functions

virtual int computeProperty1 (int frame, StuntDouble *sd)=0
 
virtual int computeProperty2 (int frame, StuntDouble *sd)
 
virtual void computeProperty1 (int frame)=0
 
virtual int computeProperty1 (int frame, Molecule *mol)=0
 
virtual int computeProperty1 (int frame, StuntDouble *sd)=0
 
virtual int computeProperty1 (int frame, Bond *bond)=0
 
virtual void computeProperty2 (int)
 
virtual int computeProperty2 (int, Molecule *)
 
virtual int computeProperty2 (int, StuntDouble *)
 
virtual int computeProperty2 (int, Bond *)
 
- Protected Member Functions inherited from OpenMD::MultipassCorrFunc< 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 T calcCorrVal (int frame1, int frame2, int id1, int id2)=0
 
virtual void writeCorrelate ()
 
void writeCorrelate ()
 
void writeCorrelate ()
 
- 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 T calcCorrVal (int frame1, int frame2)=0
 
virtual T calcCorrVal (int frame1, int frame2, int id1, int id2)=0
 
void writeCorrelate ()
 
void writeCorrelate ()
 

Additional Inherited Members

- Protected Attributes inherited from OpenMD::MultipassCorrFunc< T >
int storageLayout_
 
RealType deltaTime_
 
unsigned int nTimeBins_
 
int nFrames_
 
std::vector< T > histogram_
 
std::vector< int > count_
 
std::vector< RealType > times_
 
bool uniqueSelections_
 
SimInfoinfo_
 
DumpReaderreader_
 
std::string dumpFilename_
 
SelectionManager seleMan1_
 
SelectionManager seleMan2_
 
SnapshotcurrentSnapshot_
 
std::string selectionScript1_
 
std::string selectionScript2_
 
SelectionEvaluator evaluator1_
 
SelectionEvaluator evaluator2_
 
bool autoCorrFunc_
 
std::string corrFuncType_
 
std::string paramString_
 
std::string labelString_
 
std::vector< std::vector< int > > sele1ToIndex_
 
std::vector< std::vector< int > > sele2ToIndex_
 
ProgressBarprogressBar_
 
- Protected Attributes inherited from OpenMD::DynamicProperty
std::string outputFilename_
 
- 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_
 
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_
 
std::string corrFuncType_
 
std::string paramString_
 
std::string labelString_
 
std::vector< std::vector< int > > sele1ToIndex_
 
std::vector< std::vector< int > > sele2ToIndex_
 
ProgressBarPtr progressBar_
 

Detailed Description

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

Definition at line 150 of file TimeCorrFunc.hpp.

Constructor & Destructor Documentation

◆ AutoCorrFunc() [1/2]

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

Definition at line 446 of file MultipassCorrFunc.cpp.

◆ AutoCorrFunc() [2/2]

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

Definition at line 512 of file TimeCorrFunc.cpp.

Member Function Documentation

◆ computeProperty1() [1/5]

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

◆ computeProperty1() [2/5]

template<typename T >
virtual int OpenMD::AutoCorrFunc< T >::computeProperty1 ( int frame,
Bond * bond )
protectedpure virtual

◆ computeProperty1() [3/5]

template<typename T >
virtual int OpenMD::AutoCorrFunc< T >::computeProperty1 ( int frame,
Molecule * mol )
protectedpure virtual

◆ computeProperty1() [4/5]

template<typename T >
virtual int OpenMD::AutoCorrFunc< T >::computeProperty1 ( int frame,
StuntDouble * sd )
protectedpure virtual

◆ computeProperty1() [5/5]

template<typename T >
virtual int OpenMD::AutoCorrFunc< T >::computeProperty1 ( int frame,
StuntDouble * sd )
protectedpure virtual

◆ computeProperty2() [1/5]

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

Implements OpenMD::MultipassCorrFunc< T >.

Definition at line 148 of file MultipassCorrFunc.hpp.

◆ computeProperty2() [2/5]

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

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 161 of file TimeCorrFunc.hpp.

◆ computeProperty2() [3/5]

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

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 164 of file TimeCorrFunc.hpp.

◆ computeProperty2() [4/5]

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

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 162 of file TimeCorrFunc.hpp.

◆ computeProperty2() [5/5]

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

Implements OpenMD::MultipassCorrFunc< T >.

Definition at line 163 of file TimeCorrFunc.hpp.


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