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

Comparing trunk/OOPSE-3.0/src/applications/staticProps/DensityPlot.cpp (file contents):
Revision 2257 by tim, Mon Jun 13 18:25:30 2005 UTC vs.
Revision 2258 by gezelter, Mon Jun 20 16:03:30 2005 UTC

# Line 83 | Line 83 | void DensityPlot::process() {
83    
84    DumpReader reader(info_, dumpFilename_);    
85    int nFrames = reader.getNFrames();
86 <
87 <  for (int i = 0; i < nFrames; i += step_) {
86 >  int i;
87 >  for (i = 0; i < nFrames; i += step_) {
88      reader.readFrame(i);
89      currentSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot();
90  
# Line 109 | Line 109 | void DensityPlot::process() {
109      Mat3x3d hmat = currentSnapshot_->getHmat();
110      double slabVolume = deltaR_ * hmat(0, 0) * hmat(1, 1);
111      
112    int i;        
112      for (StuntDouble* sd = seleMan_.beginSelected(i); sd != NULL; sd = seleMan_.nextSelected(i)) {
113  
114  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines