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

Comparing trunk/OOPSE/staticProps/AllCorr.cpp (file contents):
Revision 1042 by mmeineke, Fri Dec 19 15:12:23 2003 UTC vs.
Revision 1043 by mmeineke, Mon Feb 9 20:38:38 2004 UTC

# Line 179 | Line 179 | void AllCorr::calcCorrelations(){
179  
180    for(k=0; k<nFrames; k++){
181      
182 <    currInfo = &(infoArray[k]);
182 >    currInfo = &(infoArray[0]); // only use 1 frame to save memory
183  
184      // skip the first frame, as it is already initialized
185      if( k != 0 ){
# Line 192 | Line 192 | void AllCorr::calcCorrelations(){
192        
193        // read in the frame's positions
194        
195 <      reader->readFrame( &(infoArray[k]), 0 );
195 >      reader->readFrame( currInfo, k );
196      }
197      
198      frameVolume = currInfo->boxVol;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines