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

Comparing trunk/OOPSE-4/src/applications/dynamicProps/ParticleTimeCorrFunc.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] += nSelected_;    
# Line 72 | Line 72 | namespace oopse {
72           sd1 != NULL && sd2 != NULL;
73           sd1 = seleMan1_.nextSelected(i), sd2 = seleMan2_.nextSelected(j)) {
74  
75 <      double corrVal = calcCorrVal(frame1, frame2, sd1, sd2);
75 >      RealType corrVal = calcCorrVal(frame1, frame2, sd1, sd2);
76        histogram_[timeBin] += corrVal;    
77      }
78      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines