Changeset 3d4969 for molecuilder/src/config.cpp
- Timestamp:
- Nov 23, 2009, 6:51:50 PM (16 years ago)
- Children:
- 16f34d, 7d1ad9
- Parents:
- 418117a
- File:
-
- 1 edited
-
molecuilder/src/config.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/config.cpp
r418117a r3d4969 143 143 if (LineMapping == NULL) { 144 144 eLog() << Verbose(0) << "map pointer is NULL: " << LineMapping << endl; 145 performCriticalExit(); 145 146 return; 146 147 } … … 156 157 if (CurrentLine+nr < NoLines) 157 158 LineMapping[CurrentLine+(nr++)] = runner->second; 158 else 159 else { 159 160 eLog() << Verbose(0) << "config::MapIonTypesInBuffer - NoAtoms is wrong: We are past the end of the file!" << endl; 161 performCriticalExit(); 162 } 160 163 } 161 164 } … … 686 689 if (MaxTypes == 0) { 687 690 eLog() << Verbose(0) << "There are no atoms according to MaxTypes in this config file." << endl; 691 performCriticalExit(); 688 692 } else { 689 693 // prescan number of ions per type … … 704 708 if (!ParseForParameter(verbose,FileBuffer, (const char*)name, 1, 1, 1, int_type, &value[0], 1, critical)) { 705 709 eLog() << Verbose(0) << "There are no atoms in the config file!" << endl; 710 performCriticalExit(); 706 711 return; 707 712 }
Note:
See TracChangeset
for help on using the changeset viewer.
