ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/applications/staticProps/GofR.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/applications/staticProps/GofR.cpp (file contents):
Revision 2038 by tim, Wed Feb 16 20:30:50 2005 UTC vs.
Revision 2045 by tim, Thu Feb 17 18:30:54 2005 UTC

# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines