Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config.cpp

    r36166d r389cc8  
    10311031{
    10321032  bool result = true;
    1033   // bring MaxTypes up to date
    1034   mol->CountElements();
    10351033  const Matrix &domain = World::getInstance().getDomain().getM();
    10361034  ofstream * const output = new ofstream(filename, ios::out);
     
    11381136    *output << "IsAngstroem\t" << config::IsAngstroem << "\t# 0 - Bohr, 1 - Angstroem" << endl;
    11391137    *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;
    11411139    *output << endl;
    11421140    result = result && mol->Checkout(output);
     
    15331531    mol->SetNameFromFilename(ConfigFileName);
    15341532    molecules->SimpleMultiMerge(mol, src, N);
    1535     mol->doCountAtoms();
    1536     mol->CountElements();
    15371533    //mol->CalculateOrbitals(*this);
    15381534    delete[](src);
Note: See TracChangeset for help on using the changeset viewer.