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

Comparing trunk/OOPSE-4/src/applications/staticProps/GofRAngle.cpp (file contents):
Revision 2044 by tim, Thu Feb 17 16:21:07 2005 UTC vs.
Revision 2045 by tim, Thu Feb 17 18:30:54 2005 UTC

# Line 105 | Line 105 | void GofRAngle::collectHistogram(StuntDouble* sd1, Stu
105      
106      Vector3d pos1 = sd1->getPos();
107      Vector3d pos2 = sd2->getPos();
108 <    Vector3d r12 = pos1 - pos2;
108 >    Vector3d r12 = pos2 - pos1;
109      currentSnapshot_->wrapVector(r12);
110  
111      double distance = r12.length();
# Line 152 | Line 152 | double GofRTheta::evaluateAngle(StuntDouble* sd1, Stun
152   double GofRTheta::evaluateAngle(StuntDouble* sd1, StuntDouble* sd2) {
153      Vector3d pos1 = sd1->getPos();
154      Vector3d pos2 = sd2->getPos();
155 <    Vector3d r12 = pos1 - pos2;
155 >    Vector3d r12 = pos2 - pos1;
156      currentSnapshot_->wrapVector(r12);
157      r12.normalize();
158      Vector3d dipole = sd1->getElectroFrame().getColumn(2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines