Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/bondgraph.cpp

    r244a84 ra67d19  
    99
    1010#include "atom.hpp"
     11#include "bond.hpp"
    1112#include "bondgraph.hpp"
    1213#include "element.hpp"
     
    4950  // allocate MatrixContainer
    5051  if (BondLengthMatrix != NULL) {
    51     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);
    5253    delete(BondLengthMatrix);
    5354  }
     
    5556
    5657  // parse in matrix
    57   if (status = TempContainer->ParseMatrix(filename.c_str(), 0, 1, 0)) {
    58     Log() << Verbose(1) << "Parsing bond length matrix successful." << endl;
     58  if ((status = TempContainer->ParseMatrix(filename.c_str(), 0, 1, 0))) {
     59    DoLog(1) && (Log() << Verbose(1) << "Parsing bond length matrix successful." << endl);
    5960  } else {
    60     eLog() << Verbose(1) << "Parsing bond length matrix failed." << endl;
     61    DoeLog(1) && (eLog()<< Verbose(1) << "Parsing bond length matrix failed." << endl);
    6162  }
    6263
     
    8687bool BondGraph::ConstructBondGraph(molecule * const mol)
    8788{
    88   bool status = true;
     89  Info FunctionInfo(__func__);
     90bool status = true;
    8991
    9092  if (mol->start->next == mol->end) // only construct if molecule is not empty
     
    119121double BondGraph::SetMaxDistanceToMaxOfCovalentRadii(const molecule * const mol)
    120122{
     123  Info FunctionInfo(__func__);
    121124  max_distance = 0.;
    122125
     
    159162{
    160163  if (BondLengthMatrix == NULL) {// safety measure if no matrix has been parsed yet
    161     eLog() << Verbose(2) << "BondLengthMatrixMinMaxDistance() called without having parsed the bond length matrix yet!" << endl;
     164    DoeLog(2) && (eLog()<< Verbose(2) << "BondLengthMatrixMinMaxDistance() called without having parsed the bond length matrix yet!" << endl);
    162165    CovalentMinMaxDistance(Walker, OtherWalker, MinDistance, MaxDistance, IsAngstroem);
    163166  } else {
     
    168171  }
    169172};
    170 
Note: See TracChangeset for help on using the changeset viewer.