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

Comparing trunk/OOPSE-4/src/applications/dynamicProps/RadialRCorrFunc.cpp (file contents):
Revision 3081 by chuckv, Wed Dec 6 01:05:43 2006 UTC vs.
Revision 3108 by chuckv, Wed Jan 3 04:40:11 2007 UTC

# Line 49 | Line 49 | namespace oopse {
49        setCorrFuncType("RadialRCorrFunc");
50        setOutputName(getPrefix(dumpFilename_) + ".r_rcorr");
51  
52      frameCentroid_ = new SnapshotCentroid(info,filename);
52  
53      }
54  
# Line 61 | Line 60 | namespace oopse {
60  
61      Vector3d r1 = sd1->getPos(frame1);
62      Vector3d r2 = sd2->getPos(frame2);
63 <    Vector3d com1 = frameCentroid_->getFrameCOM(frame1);
64 <    Vector3d com2 = frameCentroid_->getFrameCOM(frame2);
63 >    Vector3d com1 = sd1->getCOM();
64 >    Vector3d com2 = sd2->getCOM();
65  
66      coord_t0 = r1 - com1;
67      coord_t  = r2 - com2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines