--- branches/development/src/io/DumpReader.cpp 2012/07/09 14:15:52 1769 +++ branches/development/src/io/DumpReader.cpp 2012/09/06 19:44:06 1794 @@ -75,7 +75,8 @@ namespace OpenMD { if (worldRank == 0) { #endif - inFile_ = new std::ifstream(filename_.c_str()); + inFile_ = new std::ifstream(filename_.c_str(), + ifstream::in | ifstream::binary); if (inFile_->fail()) { sprintf(painCave.errMsg, @@ -226,7 +227,9 @@ namespace OpenMD { needVel_ = false; } - if (storageLayout & DataStorage::dslAmat || storageLayout & DataStorage::dslElectroFrame) { + if (storageLayout & DataStorage::dslAmat || + storageLayout & DataStorage::dslDipole || + storageLayout & DataStorage::dslQuadrupole) { needQuaternion_ = true; } else { needQuaternion_ = false;