Ignore:
Timestamp:
Apr 22, 2010, 2:00:03 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
423c7b
Parents:
c43766
Message:

Huge change: Log() << Verbose(.) --> DoLog(.) && (Log() << Verbose(.) << ...);

Most of the files are affected, but this is necessary as if DoLog() says verbosity is not enough, all the stream operators won"t get executed which saves substantial amount of computation time.

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/bondgraph.cpp

    rc43766 r1f2e46  
    5050  // allocate MatrixContainer
    5151  if (BondLengthMatrix != NULL) {
    52     Log() << Verbose(1) << "MatrixContainer for Bond length already present, removing." << endl;
     52    DoLog(1) && (Log() << Verbose(1) << "MatrixContainer for Bond length already present, removing." << endl);
    5353    delete(BondLengthMatrix);
    5454  }
     
    5757  // parse in matrix
    5858  if ((status = TempContainer->ParseMatrix(filename.c_str(), 0, 1, 0))) {
    59     Log() << Verbose(1) << "Parsing bond length matrix successful." << endl;
     59    DoLog(1) && (Log() << Verbose(1) << "Parsing bond length matrix successful." << endl);
    6060  } else {
    6161    DoeLog(1) && (eLog()<< Verbose(1) << "Parsing bond length matrix failed." << endl);
Note: See TracChangeset for help on using the changeset viewer.