Changeset 6e1853
- Timestamp:
- Mar 4, 2010, 2:57:48 PM (15 years ago)
- Children:
- f87c2a
- Parents:
- 1540c8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/config.cpp
r1540c8c r6e1853 1646 1646 /** Stores all atoms in a TREMOLO data input file. 1647 1647 * Note that this format cannot be parsed again. 1648 * Note that TREMOLO does not like Id starting at 0, but at 1. Atoms with Id 0 are discarded! 1648 1649 * \param *filename name of file (without ".in" suffix!) 1649 1650 * \param *mol pointer to molecule … … 1700 1701 /** Stores all atoms from all molecules in a TREMOLO data input file. 1701 1702 * Note that this format cannot be parsed again. 1703 * Note that TREMOLO does not like Id starting at 0, but at 1. Atoms with Id 0 are discarded! 1702 1704 * \param *filename name of file (without ".in" suffix!) 1703 1705 * \param *MolList pointer to MoleculeListClass containing all atoms … … 1752 1754 while (Walker->next != (*MolWalker)->end) { 1753 1755 Walker = Walker->next; 1754 *output << AtomNo << "\t";1756 *output << AtomNo+1 << "\t"; 1755 1757 *output << Walker->Name << "\t"; 1756 1758 *output << (*MolWalker)->name << "\t"; 1757 *output << MolCounter << "\t";1759 *output << MolCounter+1 << "\t"; 1758 1760 *output << Walker->node->x[0] << "\t" << Walker->node->x[1] << "\t" << Walker->node->x[2] << "\t"; 1759 1761 *output << (double)Walker->type->Valence << "\t"; 1760 1762 *output << Walker->type->symbol << "\t"; 1761 1763 for (BondList::iterator runner = Walker->ListOfBonds.begin(); runner != Walker->ListOfBonds.end(); runner++) 1762 *output << LocalNotoGlobalNoMap[MolCounter][ (*runner)->GetOtherAtom(Walker)->nr ] << "\t";1764 *output << LocalNotoGlobalNoMap[MolCounter][ (*runner)->GetOtherAtom(Walker)->nr ]+1 << "\t"; 1763 1765 for(int i=Walker->ListOfBonds.size(); i < MaxNeighbours; i++) 1764 1766 *output << "-\t";
Note:
See TracChangeset
for help on using the changeset viewer.