68 const std::string& sele1,
const std::string& sele2);
71 virtual void doCorrelate();
73 const std::string& getCorrFuncType()
const {
return corrFuncType_; }
75 void setCorrFuncType(
const std::string& type) { corrFuncType_ = type; }
77 void setParameterString(
const std::string& params) {
78 paramString_ = params;
81 void setLabelString(
const std::string& label) { labelString_ = label; }
84 virtual void preCorrelate();
85 virtual void correlation();
86 virtual void postCorrelate();
87 virtual void computeFrame(
int frame);
89 virtual void correlateFrames(
int frame1,
int frame2,
int timeBin);
90 virtual void writeCorrelate();
95 virtual void computeProperty1(
int frame) = 0;
96 virtual void computeProperty2(
int frame) = 0;
97 virtual T calcCorrVal(
int frame1,
int frame2) = 0;
99 virtual int computeProperty1(
int frame,
Molecule* mol) = 0;
100 virtual int computeProperty2(
int frame,
Molecule* mol) = 0;
102 virtual int computeProperty1(
int frame,
StuntDouble* sd) = 0;
103 virtual int computeProperty2(
int frame,
StuntDouble* sd) = 0;
105 virtual int computeProperty1(
int frame,
Bond* b) = 0;
106 virtual int computeProperty2(
int frame,
Bond* b) = 0;
108 virtual T calcCorrVal(
int frame1,
int frame2,
int id1,
int id2) = 0;
111 unsigned int nTimeBins_;
113 std::vector<T> histogram_;
114 std::vector<int> count_;
115 std::vector<RealType> times_;
119 std::string dumpFilename_;
125 std::string selectionScript1_;
126 std::string selectionScript2_;
131 bool uniqueSelections_;
133 bool doSystemProperties_;
134 bool doMolecularProperties_;
135 bool doObjectProperties_;
136 bool doAtomicProperties_;
137 bool doBondProperties_;
139 std::string corrFuncType_;
140 std::string paramString_;
141 std::string labelString_;
143 std::vector<std::vector<int>> sele1ToIndex_;
144 std::vector<std::vector<int>> sele2ToIndex_;
146 ProgressBarPtr progressBar_;