Ignore:
Timestamp:
Aug 20, 2014, 1:04:08 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
0d5ca7
Parents:
0d4daf
git-author:
Frederik Heber <heber@…> (05/30/14 13:06:25)
git-committer:
Frederik Heber <heber@…> (08/20/14 13:04:08)
Message:

Added Logging to SphericalPointDistribution for debugging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/SaturatedFragment.cpp

    r0d4daf r90426a  
    201201    Polygon.push_back( DistanceVector );
    202202  }
     203  LOG(3, "DEBUG: Polygon of atom " << _atom << " to saturate is " << Polygon);
    203204
    204205  // get the new number of bonds (where all cut bonds are replaced by as
     
    217218    //      NumberOfPoints -= (*BondRunner)->getDegree() - 1;
    218219  }
     220  LOG(3, "DEBUG: There are " << NumberOfPoints
     221      << " to fill in in total for this atom " << _atom << ".");
    219222
    220223  // get perfect node distribution for the given remaining atoms with respect
     
    270273          +toString(NumberOfPoints)+".");
    271274  }
     275  LOG(3, "DEBUG: Possible Polygon is " << NewPolygon);
    272276
    273277  // then we need to match the old with the new
    274278  SphericalPointDistribution::Polygon_t RemainingPoints =
    275279      SphericalPointDistribution::matchSphericalPointDistributions(Polygon, NewPolygon);
     280
     281  LOG(3, "INFO: Points identified to fill are " << RemainingPoints);
    276282
    277283  // and place hydrogen atoms at each vacant spot in the distance given by the table
     
    280286    // find nearest atom as father to this point
    281287    atom * const _father = _atom;
     288    LOG(4, "DEBUG: Filling saturation hydrogen for atom " << _atom << " at " << *iter);
    282289    setHydrogenReplacement(
    283290        _atom,
Note: See TracChangeset for help on using the changeset viewer.