Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/atom_bondedparticle.cpp

    ra67d19 r791138  
    4444void BondedParticle::OutputBondOfAtom() const
    4545{
    46   DoLog(4) && (Log() << Verbose(4) << "Atom " << Name << "/" << nr << " with " << ListOfBonds.size() << " bonds: " << endl);
     46  Log() << Verbose(4) << "Atom " << Name << "/" << nr << " with " << ListOfBonds.size() << " bonds: " << endl;
    4747  int TotalDegree = 0;
    4848  for (BondList::const_iterator Runner = ListOfBonds.begin(); Runner != ListOfBonds.end(); ++Runner) {
    49     DoLog(4) && (Log() << Verbose(4) << **Runner << endl);
     49    Log() << Verbose(4) << **Runner << endl;
    5050    TotalDegree += (*Runner)->BondDegree;
    5151  }
    52   DoLog(4) && (Log() << Verbose(4) << " -- TotalDegree: " << TotalDegree << endl);
     52  Log() << Verbose(4) << " -- TotalDegree: " << TotalDegree << endl;
    5353};
    5454
     
    5656 * \param *AdjacencyFile output stream
    5757 */
    58 void BondedParticle::OutputAdjacency(ofstream * const AdjacencyFile) const
     58void BondedParticle::OutputAdjacency(ofstream *AdjacencyFile) const
    5959{
    6060  *AdjacencyFile << nr << "\t";
     
    6262    *AdjacencyFile << (*Runner)->GetOtherAtom(this)->nr << "\t";
    6363  *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 stream
    69  */
    70 void BondedParticle::OutputBonds(ofstream * const BondFile) const
    71 {
    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";
    7564};
    7665
     
    8675      status = true;
    8776    } else {
    88       DoeLog(1) && (eLog()<< Verbose(1) << *Binder << " does not contain " << *this << "." << endl);
     77      eLog() << Verbose(1) << *Binder << " does not contain " << *this << "." << endl;
    8978    }
    9079  } else {
    91     DoeLog(1) && (eLog()<< Verbose(1) << "Binder is " << Binder << "." << endl);
     80    eLog() << Verbose(1) << "Binder is " << Binder << "." << endl;
    9281  }
    9382  return status;
     
    10594      status = true;
    10695    } else {
    107       DoeLog(1) && (eLog()<< Verbose(1) << *Binder << " does not contain " << *this << "." << endl);
     96      eLog() << Verbose(1) << *Binder << " does not contain " << *this << "." << endl;
    10897    }
    10998  } else {
    110     DoeLog(1) && (eLog()<< Verbose(1) << "Binder is " << Binder << "." << endl);
     99    eLog() << Verbose(1) << "Binder is " << Binder << "." << endl;
    111100  }
    112101  return status;
     
    150139      //Log() << Verbose(2) << "Increased bond degree for bond " << *CandidateBond << "." << endl;
    151140    } else {
    152       DoeLog(2) && (eLog()<< Verbose(2) << "Could not find correct degree for atom " << *this << "." << endl);
     141      eLog() << Verbose(2) << "Could not find correct degree for atom " << *this << "." << endl;
    153142      FalseBondDegree++;
    154143    }
Note: See TracChangeset for help on using the changeset viewer.