ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/SimCreator.cpp
(Generate patch)

Comparing branches/development/src/brains/SimCreator.cpp (file contents):
Revision 1824 by gezelter, Fri Nov 16 21:18:42 2012 UTC vs.
Revision 1825 by gezelter, Wed Jan 9 19:27:52 2013 UTC

# Line 968 | Line 968 | namespace OpenMD {
968    }
969    
970    void SimCreator::loadCoordinates(SimInfo* info, const std::string& mdFileName) {
971    Globals* simParams;
972
973    simParams = info->getSimParams();
971      
972      DumpReader reader(info, mdFileName);
973      int nframes = reader.getNFrames();
974 <
974 >    
975      if (nframes > 0) {
976        reader.readFrame(nframes - 1);
977      } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines