Changes in src/Parser/XyzParser.cpp [97b825:bcf653]
- 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 1 8 /* 2 9 * XyzParser.cpp … … 5 12 * Author: metzler 6 13 */ 14 15 // include config.h 16 #ifdef HAVE_CONFIG_H 17 #include <config.h> 18 #endif 7 19 8 20 #include "Helpers/MemDebug.hpp" … … 51 63 newmol = World::getInstance().createMolecule(); 52 64 newmol->ActiveFlag = true; 65 // TODO: Remove the insertion into molecule when saving does not depend on them anymore. Also, remove molecule.hpp include 53 66 World::getInstance().getMolecules()->insert(newmol); 54 67 for (int i = 0; i < numberOfAtoms; i++) { … … 86 99 vector<atom*> atoms = World::getInstance().getAllAtoms(); 87 100 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; 89 102 } 90 103 }
Note:
See TracChangeset
for help on using the changeset viewer.