Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/XyzParser.cpp

    rbcf653 r97b825  
    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 
    81/*
    92 * XyzParser.cpp
     
    125 *      Author: metzler
    136 */
    14 
    15 // include config.h
    16 #ifdef HAVE_CONFIG_H
    17 #include <config.h>
    18 #endif
    197
    208#include "Helpers/MemDebug.hpp"
     
    6351  newmol = World::getInstance().createMolecule();
    6452  newmol->ActiveFlag = true;
    65   // TODO: Remove the insertion into molecule when saving does not depend on them anymore. Also, remove molecule.hpp include
    6653  World::getInstance().getMolecules()->insert(newmol);
    6754  for (int i = 0; i < numberOfAtoms; i++) {
     
    9986  vector<atom*> atoms = World::getInstance().getAllAtoms();
    10087  for(vector<atom*>::iterator it = atoms.begin(); it != atoms.end(); it++) {
    101     *file << noshowpoint << (*it)->getType()->getSymbol() << "\t" << (*it)->at(0) << "\t" << (*it)->at(1) << "\t" << (*it)->at(2) << endl;
     88    *file << noshowpoint << (*it)->getType()->symbol << "\t" << (*it)->at(0) << "\t" << (*it)->at(1) << "\t" << (*it)->at(2) << endl;
    10289  }
    10390}
Note: See TracChangeset for help on using the changeset viewer.