Changes in src/config.cpp [36166d:389cc8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/config.cpp
r36166d r389cc8 1031 1031 { 1032 1032 bool result = true; 1033 // bring MaxTypes up to date1034 mol->CountElements();1035 1033 const Matrix &domain = World::getInstance().getDomain().getM(); 1036 1034 ofstream * const output = new ofstream(filename, ios::out); … … 1138 1136 *output << "IsAngstroem\t" << config::IsAngstroem << "\t# 0 - Bohr, 1 - Angstroem" << endl; 1139 1137 *output << "RelativeCoord\t" << config::RelativeCoord << "\t# whether ion coordinates are relative (1) or absolute (0)" << endl; 1140 *output << "MaxTypes\t" << mol-> ElementCount<< "\t# maximum number of different ion types" << endl;1138 *output << "MaxTypes\t" << mol->getElementCount() << "\t# maximum number of different ion types" << endl; 1141 1139 *output << endl; 1142 1140 result = result && mol->Checkout(output); … … 1533 1531 mol->SetNameFromFilename(ConfigFileName); 1534 1532 molecules->SimpleMultiMerge(mol, src, N); 1535 mol->doCountAtoms();1536 mol->CountElements();1537 1533 //mol->CalculateOrbitals(*this); 1538 1534 delete[](src);
Note:
See TracChangeset
for help on using the changeset viewer.