Changes in src/parser.cpp [a67d19:68f03d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/parser.cpp
ra67d19 r68f03d 32 32 if (input == NULL) { 33 33 if (!test) 34 DoLog(0) && (Log() << Verbose(0) << endl << " Unable to open " << filename << ", is the directory correct?" << endl);34 DoLog(0) && (Log() << Verbose(0) << endl << "FilePresent: Unable to open " << filename << ", is the directory correct?" << endl); 35 35 return false; 36 36 } … … 160 160 //Log() << Verbose(1) << "Opening " << name << " ... " << input << endl; 161 161 if (input == NULL) { 162 DoeLog(1) && (eLog()<< Verbose(1) << endl << " Unable to open " << name << ", is the directory correct?" << endl);162 DoeLog(1) && (eLog()<< Verbose(1) << endl << "MatrixContainer::ParseMatrix: Unable to open " << name << ", is the directory correct?" << endl); 163 163 //performCriticalExit(); 164 164 return false; … … 269 269 input.open(file.str().c_str(), ios::in); 270 270 if (input == NULL) { 271 DoLog(0) && (Log() << Verbose(0) << endl << " Unable to open " << file.str() << ", is the directory correct?" << endl);271 DoLog(0) && (Log() << Verbose(0) << endl << "MatrixContainer::ParseFragmentMatrix: Unable to open " << file.str() << ", is the directory correct?" << endl); 272 272 return false; 273 273 } … … 477 477 output.open(line.str().c_str(), ios::out); 478 478 if (output == NULL) { 479 DoeLog(0) && (eLog()<< Verbose(0) << " Unable to open output energy file " << line.str() << "!" << endl);479 DoeLog(0) && (eLog()<< Verbose(0) << "MatrixContainer::WriteTotalFragments: Unable to open output energy file " << line.str() << "!" << endl); 480 480 performCriticalExit(); 481 481 return false; … … 507 507 output.open(line.str().c_str(), ios::out); 508 508 if (output == NULL) { 509 DoeLog(0) && (eLog()<< Verbose(0) << " Unable to open output matrix file " << line.str() << "!" << endl);509 DoeLog(0) && (eLog()<< Verbose(0) << "MatrixContainer::WriteLastMatrix: Unable to open output matrix file " << line.str() << "!" << endl); 510 510 performCriticalExit(); 511 511 return false; … … 621 621 //Log() << Verbose(0) << "Opening " << line.str() << " ... " << input << endl; 622 622 if (input == NULL) { 623 DoLog(0) && (Log() << Verbose(0) << endl << " Unable to open " << line.str() << ", is the directory correct?" << endl);623 DoLog(0) && (Log() << Verbose(0) << endl << "ForceMatrix::ParseIndices: Unable to open " << line.str() << ", is the directory correct?" << endl); 624 624 return false; 625 625 } … … 700 700 input.open(file.str().c_str(), ios::in); 701 701 if (input == NULL) { 702 DoLog(0) && (Log() << Verbose(0) << endl << " Unable to open " << file.str() << ", is the directory correct?" << endl);702 DoLog(0) && (Log() << Verbose(0) << endl << "ForceMatrix::ParseFragmentMatrix: Unable to open " << file.str() << ", is the directory correct?" << endl); 703 703 return false; 704 704 } … … 759 759 //Log() << Verbose(0) << "Opening " << line.str() << " ... " << input << endl; 760 760 if (input == NULL) { 761 DoLog(0) && (Log() << Verbose(0) << endl << " Unable to open " << line.str() << ", is the directory correct?" << endl);761 DoLog(0) && (Log() << Verbose(0) << endl << "HessianMatrix::ParseIndices: Unable to open " << line.str() << ", is the directory correct?" << endl); 762 762 return false; 763 763 } … … 930 930 input.open(file.str().c_str(), ios::in); 931 931 if (input == NULL) { 932 DoLog(0) && (Log() << Verbose(0) << endl << " Unable to open " << file.str() << ", is the directory correct?" << endl);932 DoLog(0) && (Log() << Verbose(0) << endl << "HessianMatrix::ParseFragmentMatrix: Unable to open " << file.str() << ", is the directory correct?" << endl); 933 933 return false; 934 934 } … … 1014 1014 input.open(file.str().c_str(), ios::in); 1015 1015 if (input == NULL) { 1016 DoLog(0) && (Log() << Verbose(0) << endl << " Unable to open " << file.str() << ", is the directory correct?" << endl);1016 DoLog(0) && (Log() << Verbose(0) << endl << "KeySetsContainer::ParseKeySets: Unable to open " << file.str() << ", is the directory correct?" << endl); 1017 1017 return false; 1018 1018 }
Note:
See TracChangeset
for help on using the changeset viewer.