# | Line 94 | Line 94 | void GofR::collectHistogram(StuntDouble* sd1, StuntDou | |
---|---|---|
94 | ||
95 | Vector3d pos1 = sd1->getPos(); | |
96 | Vector3d pos2 = sd2->getPos(); | |
97 | < | Vector3d r12 = pos1 - pos2; |
97 | > | Vector3d r12 = pos2 - pos1; |
98 | currentSnapshot_->wrapVector(r12); | |
99 | ||
100 | double distance = r12.length(); | |
# | Line 120 | Line 120 | void GofR::writeRdf() { | |
120 | ||
121 | } else { | |
122 | ||
123 | < | |
123 | > | sprintf(painCave.errMsg, "GofR: unable to open %s\n", outputFilename_.c_str()); |
124 | > | painCave.isFatal = 1; |
125 | > | simError(); |
126 | } | |
127 | ||
128 | rdfStream.close(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |