Ignore:
Timestamp:
Nov 4, 2009, 5:34:05 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
5f1d021
Parents:
c1b76e
Message:

Extension to the periodic boundary case for analysis_correlation.cpp

other stuff:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/atom_bondedparticle.cpp

    rc1b76e r20895b  
    126126  bond *CandidateBond = NULL;
    127127
    128   *out << Verbose(3) << "Walker " << *this << ": " << (int)this->type->NoValenceOrbitals << " > " << NoBonds << "?" << endl;
     128  //*out << Verbose(3) << "Walker " << *this << ": " << (int)this->type->NoValenceOrbitals << " > " << NoBonds << "?" << endl;
    129129  NoBonds = CountBonds();
    130130  if ((int)(type->NoValenceOrbitals) > NoBonds) { // we have a mismatch, check all bonding partners for mismatch
     
    132132      OtherWalker = (*Runner)->GetOtherAtom(this);
    133133      OtherNoBonds = OtherWalker->CountBonds();
    134       *out << Verbose(3) << "OtherWalker " << *OtherWalker << ": " << (int)OtherWalker->type->NoValenceOrbitals << " > " << NoBonds << "?" << endl;
     134      //*out << Verbose(3) << "OtherWalker " << *OtherWalker << ": " << (int)OtherWalker->type->NoValenceOrbitals << " > " << NoBonds << "?" << endl;
    135135      if ((int)(OtherWalker->type->NoValenceOrbitals) > NoBonds) { // check if possible candidate
    136136        if ((CandidateBond == NULL) || (ListOfBonds.size() > OtherWalker->ListOfBonds.size())) { // pick the one with fewer number of bonds first
    137137          CandidateBond = (*Runner);
    138           *out << Verbose(3) << "New candidate is " << *CandidateBond << "." << endl;
     138          //*out << Verbose(3) << "New candidate is " << *CandidateBond << "." << endl;
    139139        }
    140140      }
     
    144144      *out << Verbose(2) << "Increased bond degree for bond " << *CandidateBond << "." << endl;
    145145    } else {
    146       *out << Verbose(2) << "Could not find correct degree for atom " << *this << "." << endl;
     146      //*out << Verbose(2) << "Could not find correct degree for atom " << *this << "." << endl;
    147147      FalseBondDegree++;
    148148    }
Note: See TracChangeset for help on using the changeset viewer.