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

Public Member Functions

 ObjectACF (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, 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 T calcCorrVal (int frame1, int frame2, int id1, int id2)=0
 
virtual void computeProperty1 (int)
 
virtual int computeProperty1 (int, Molecule *)
 
virtual int computeProperty1 (int, Bond *)
 
virtual void computeProperty2 (int)
 
virtual int computeProperty2 (int, Molecule *)
 
virtual int computeProperty2 (int, StuntDouble *)
 
virtual int computeProperty2 (int, Bond *)
 
virtual T calcCorrVal (int, int)
 
- 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 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 ()
 
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::ObjectACF< T >

Definition at line 229 of file TimeCorrFunc.hpp.

Constructor & Destructor Documentation

◆ ObjectACF()

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

Definition at line 542 of file TimeCorrFunc.cpp.

Member Function Documentation

◆ calcCorrVal() [1/2]

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

◆ calcCorrVal() [2/2]

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

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 247 of file TimeCorrFunc.hpp.

◆ computeProperty1() [1/4]

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

◆ computeProperty1() [2/4]

template<typename T >
virtual void OpenMD::ObjectACF< T >::computeProperty1 ( int )
inlineprotectedvirtual

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 238 of file TimeCorrFunc.hpp.

◆ computeProperty1() [3/4]

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

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 240 of file TimeCorrFunc.hpp.

◆ computeProperty1() [4/4]

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

Implements OpenMD::AutoCorrFunc< T >.

Definition at line 239 of file TimeCorrFunc.hpp.

◆ computeProperty2() [1/4]

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

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 242 of file TimeCorrFunc.hpp.

◆ computeProperty2() [2/4]

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

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 245 of file TimeCorrFunc.hpp.

◆ computeProperty2() [3/4]

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

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 243 of file TimeCorrFunc.hpp.

◆ computeProperty2() [4/4]

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

Reimplemented from OpenMD::AutoCorrFunc< T >.

Definition at line 244 of file TimeCorrFunc.hpp.


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