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