57 const std::string& sele1,
const std::string& sele2,
double OOCut,
58 double thetaCut,
double OHCut);
61 virtual void correlation();
62 virtual void computeFrame(
int istep);
64 virtual void computeProperty1(
int) {
return; }
65 virtual void computeProperty2(
int) {
return; }
66 virtual int computeProperty1(
int,
Molecule*) {
return -1; }
67 virtual int computeProperty1(
int,
StuntDouble*) {
return -1; }
68 virtual int computeProperty1(
int,
Bond*) {
return -1; }
69 virtual int computeProperty2(
int,
Molecule*) {
return -1; }
70 virtual int computeProperty2(
int,
StuntDouble*) {
return -1; }
71 virtual int computeProperty2(
int,
Bond*) {
return -1; }
73 virtual RealType calcCorrVal(
int,
int,
int,
int) {
return 0.0; }
74 virtual RealType calcCorrVal(
int,
int) {
return 0.0; }
76 virtual void postCorrelate();
78 virtual int registerHydrogen(
int frame,
int hIndex);
79 virtual void findHBonds(
int frame);
81 void registerHydrogenBond(
int frame,
int index,
int hIndex,
int aIndex);
86 std::vector<std::vector<int>> GIDtoH_;
87 std::vector<std::vector<int>> hydrogen_;
88 std::vector<std::vector<int>> acceptor_;
89 std::vector<std::vector<int>> lastAcceptor_;
90 std::vector<std::vector<bool>> selected_;
91 std::vector<std::vector<int>> acceptorStartFrame_;
125 const std::string& sele1,
const std::string& sele2,
126 const std::string& sele3,
double OOCut, RealType thetaCut,
127 RealType OHCut, RealType len,
int nRbins);
128 virtual int registerHydrogen(
int frame,
int hIndex);
129 virtual void findHBonds(
int frame);
130 virtual void correlation();
131 virtual void postCorrelate();
132 virtual void writeCorrelate();
136 unsigned int nRBins_;
139 std::string selectionScript3_;
142 std::vector<std::vector<RealType>> histogram_;
143 std::vector<std::vector<int>> counts_;
144 std::vector<std::vector<int>> rbin_;