| # | Line 75 | Line 75 | namespace OpenMD { | |
|---|---|---|
| 75 | if (worldRank == 0) { | |
| 76 | #endif | |
| 77 | ||
| 78 | < | inFile_ = new std::ifstream(filename_.c_str()); |
| 78 | > | inFile_ = new std::ifstream(filename_.c_str(), |
| 79 | > | ifstream::in | ifstream::binary); |
| 80 | ||
| 81 | if (inFile_->fail()) { | |
| 82 | sprintf(painCave.errMsg, | |
| # | Line 140 | Line 141 | namespace OpenMD { | |
| 141 | prevPos = currPos; | |
| 142 | bool foundOpenSnapshotTag = false; | |
| 143 | bool foundClosedSnapshotTag = false; | |
| 144 | < | bool foundOpenSiteDataTag = false; |
| 144 | > | |
| 145 | while(inFile_->getline(buffer, bufferSize)) { | |
| 146 | ++lineNo; | |
| 147 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |