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

Public Member Functions

 ObjectCCF (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
 ObjectCCF (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
Public Member Functions inherited from OpenMD::CrossCorrFunc< T >
 CrossCorrFunc (SimInfo *info, const std::string &filename, const std::string &sele1, const std::string &sele2)
 CrossCorrFunc (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 int computeProperty1 (int frame, StuntDouble *sd)=0
virtual int computeProperty2 (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, Bond *)
virtual T calcCorrVal (int, int)
virtual int computeProperty1 (int frame, StuntDouble *sd)=0
virtual int computeProperty2 (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, Bond *)
virtual T calcCorrVal (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::ObjectCCF< T >

Definition at line 257 of file TimeCorrFunc.hpp.

Constructor & Destructor Documentation

◆ ObjectCCF()

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

Definition at line 585 of file TimeCorrFunc.cpp.

Member Function Documentation

◆ calcCorrVal() [1/4]

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

◆ calcCorrVal() [2/4]

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

◆ calcCorrVal() [3/4]

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

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 275 of file TimeCorrFunc.hpp.

◆ calcCorrVal() [4/4]

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

Implements OpenMD::TimeCorrFunc< T >.

Definition at line 356 of file TimeCorrFunc.hpp.

◆ computeProperty1() [1/8]

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

◆ computeProperty1() [2/8]

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

◆ computeProperty1() [3/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 267 of file TimeCorrFunc.hpp.

◆ computeProperty1() [4/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 348 of file TimeCorrFunc.hpp.

◆ computeProperty1() [5/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 269 of file TimeCorrFunc.hpp.

◆ computeProperty1() [6/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 350 of file TimeCorrFunc.hpp.

◆ computeProperty1() [7/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 268 of file TimeCorrFunc.hpp.

◆ computeProperty1() [8/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 349 of file TimeCorrFunc.hpp.

◆ computeProperty2() [1/8]

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

◆ computeProperty2() [2/8]

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

◆ computeProperty2() [3/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 271 of file TimeCorrFunc.hpp.

◆ computeProperty2() [4/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 352 of file TimeCorrFunc.hpp.

◆ computeProperty2() [5/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 273 of file TimeCorrFunc.hpp.

◆ computeProperty2() [6/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 354 of file TimeCorrFunc.hpp.

◆ computeProperty2() [7/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 272 of file TimeCorrFunc.hpp.

◆ computeProperty2() [8/8]

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

Implements OpenMD::CrossCorrFunc< T >.

Definition at line 353 of file TimeCorrFunc.hpp.


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