Changes in src/builder_init.cpp [4e855e:1d5a871]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/builder_init.cpp
r4e855e r1d5a871 19 19 20 20 #include "CodePatterns/MemDebug.hpp" 21 22 #include <iostream>23 21 24 22 #include "bondgraph.hpp" … … 109 107 World::getInstance().getConfig()->BG = new BondGraph(World::getInstance().getConfig()->GetIsAngstroem()); 110 108 if (boost::filesystem::exists(BondGraphFileName)) { 111 std::ifstream input(BondGraphFileName.c_str()); 112 if ((input.good()) && (World::getInstance().getConfig()->BG->LoadBondLengthTable(input))) { 109 if (World::getInstance().getConfig()->BG->LoadBondLengthTable(BondGraphFileName)) { 113 110 DoLog(0) && (Log() << Verbose(0) << "Bond length table loaded successfully." << endl); 114 111 } else { 115 112 DoeLog(1) && (eLog()<< Verbose(1) << "Bond length table loading failed." << endl); 116 113 } 117 input.close();118 114 } 119 115 }
Note:
See TracChangeset
for help on using the changeset viewer.