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 1812 by gezelter, Fri Nov 16 21:18:42 2012 UTC vs.
Revision 1826 by gezelter, Wed Jan 9 19:41:48 2013 UTC

# Line 526 | Line 526 | namespace OpenMD {
526      int nTarget;
527      int done;
528      int i;
529    int j;
529      int loops;
530      int which_proc;
531      int nProcessors;
# Line 968 | Line 967 | namespace OpenMD {
967    }
968    
969    void SimCreator::loadCoordinates(SimInfo* info, const std::string& mdFileName) {
971    Globals* simParams;
972
973    simParams = info->getSimParams();
970      
971      DumpReader reader(info, mdFileName);
972      int nframes = reader.getNFrames();
973 <
973 >    
974      if (nframes > 0) {
975        reader.readFrame(nframes - 1);
976      } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines