Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/Parser/XyzParser.cpp

    r97b825 rbcf653  
     1/*
     2 * Project: MoleCuilder
     3 * Description: creates and alters molecular systems
     4 * Copyright (C)  2010 University of Bonn. All rights reserved.
     5 * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.
     6 */
     7
    18/*
    29 * XyzParser.cpp
     
    512 *      Author: metzler
    613 */
     14
     15// include config.h
     16#ifdef HAVE_CONFIG_H
     17#include <config.h>
     18#endif
    719
    820#include "Helpers/MemDebug.hpp"
     
    5163  newmol = World::getInstance().createMolecule();
    5264  newmol->ActiveFlag = true;
     65  // TODO: Remove the insertion into molecule when saving does not depend on them anymore. Also, remove molecule.hpp include
    5366  World::getInstance().getMolecules()->insert(newmol);
    5467  for (int i = 0; i < numberOfAtoms; i++) {
     
    8699  vector<atom*> atoms = World::getInstance().getAllAtoms();
    87100  for(vector<atom*>::iterator it = atoms.begin(); it != atoms.end(); it++) {
    88     *file << noshowpoint << (*it)->getType()->symbol << "\t" << (*it)->at(0) << "\t" << (*it)->at(1) << "\t" << (*it)->at(2) << endl;
     101    *file << noshowpoint << (*it)->getType()->getSymbol() << "\t" << (*it)->at(0) << "\t" << (*it)->at(1) << "\t" << (*it)->at(2) << endl;
    89102  }
    90103}
Note: See TracChangeset for help on using the changeset viewer.