| # | 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 { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |