Changes in src/atom_bondedparticle.cpp [1f1b23:791138]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/atom_bondedparticle.cpp
r1f1b23 r791138 56 56 * \param *AdjacencyFile output stream 57 57 */ 58 void BondedParticle::OutputAdjacency(ofstream * constAdjacencyFile) const58 void BondedParticle::OutputAdjacency(ofstream *AdjacencyFile) const 59 59 { 60 60 *AdjacencyFile << nr << "\t"; … … 62 62 *AdjacencyFile << (*Runner)->GetOtherAtom(this)->nr << "\t"; 63 63 *AdjacencyFile << endl; 64 };65 66 /** Output of atom::nr along each bond partner per line.67 * Only bonds are printed where atom::nr is smaller than the one of the bond partner.68 * \param *AdjacencyFile output stream69 */70 void BondedParticle::OutputBonds(ofstream * const BondFile) const71 {72 for (BondList::const_iterator Runner = ListOfBonds.begin(); Runner != ListOfBonds.end(); (++Runner))73 if (nr < (*Runner)->GetOtherAtom(this)->nr)74 *BondFile << nr << "\t" << (*Runner)->GetOtherAtom(this)->nr << "\n";75 64 }; 76 65
Note:
See TracChangeset
for help on using the changeset viewer.