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, |
227 |
|
needVel_ = false; |
228 |
|
} |
229 |
|
|
230 |
< |
if (storageLayout & DataStorage::dslAmat || storageLayout & DataStorage::dslElectroFrame) { |
230 |
> |
if (storageLayout & DataStorage::dslAmat || |
231 |
> |
storageLayout & DataStorage::dslDipole || |
232 |
> |
storageLayout & DataStorage::dslQuadrupole) { |
233 |
|
needQuaternion_ = true; |
234 |
|
} else { |
235 |
|
needQuaternion_ = false; |