ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/dump2Xyz/Dump2XYZ.cpp
(Generate patch)

Comparing trunk/src/applications/dump2Xyz/Dump2XYZ.cpp (file contents):
Revision 1212 by xsun, Wed Jan 23 21:21:13 2008 UTC vs.
Revision 1283 by gezelter, Wed Jul 30 18:48:01 2008 UTC

# Line 200 | Line 200 | int main(int argc, char* argv[]){
200    int nframes = dumpReader->getNFrames();
201    
202    
203 <  std::ofstream xyzStream;    
204 <  xyzStream .open(xyzFileName.c_str());
205 <  
203 >  std::ofstream xyzStream(xyzFileName.c_str());
204    
205    SimInfo::MoleculeIterator miter;
206    Molecule::IntegrableObjectIterator  iiter;
# Line 266 | Line 264 | int main(int argc, char* argv[]){
264      xyzVisitor->clear();
265      
266    }//end for (int i = 0; i < nframes; i += args_info.frame_arg)
267 <  
267 >
268    xyzStream.close();
271  
269    delete prepareVisitor;
270    delete compositeVisitor;
271    delete info;
275  
272   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines