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

Comparing trunk/OOPSE-4/src/applications/dynamicProps/CrossTimeCorrFunc.cpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 57 | Line 57 | namespace oopse {
57      Snapshot* snapshot2 = bsMan_->getSnapshot(frame2);
58      assert(snapshot1 && snapshot2);
59  
60 <    double time1 = snapshot1->getTime();
61 <    double time2 = snapshot2->getTime();
60 >    RealType time1 = snapshot1->getTime();
61 >    RealType time2 = snapshot2->getTime();
62  
63      int timeBin = int ((time2 - time1) /deltaTime_ + 0.5);
64      count_[timeBin] += nSelectedPairs_ ;    
# Line 70 | Line 70 | namespace oopse {
70      for (sd1 = seleMan1_.beginSelected(i); sd1 != NULL; sd1 = seleMan1_.nextSelected(i)) {
71  
72        for (sd2 = seleMan2_.beginSelected(j); sd2 != NULL; sd2 = seleMan2_.nextSelected(j)) {
73 <        double corrVal = calcCorrVal(frame1, frame2, sd1, sd2);
73 >        RealType corrVal = calcCorrVal(frame1, frame2, sd1, sd2);
74          histogram_[timeBin] += corrVal;    
75        }            
76      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines