Ignore:
Timestamp:
Aug 20, 2014, 1:04:08 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
1ae9aa
Parents:
0710bf
git-author:
Frederik Heber <heber@…> (06/29/14 18:02:32)
git-committer:
Frederik Heber <heber@…> (08/20/14 13:04:08)
Message:

Extended SphericalPointDistribution::Polygon_t to WeightedPolygon_t.

  • contains additionally the weights from the already present points.
  • in order to deal sensibly with present bonds of higher degree (>1) that shift neighboring occupied orbitals even further away, we additionally pass on the bond degree. This indicates how many points of the N points have to be accumulated for this on present bond.
  • TESTS: Regression test FragmentMolecule-cylces failing for the moment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/SphericalPointDistribution.hpp

    r0710bf r260540  
    4545  //!> typedef for the list of points
    4646  typedef std::list<Vector> Polygon_t;
     47  //!> typedef for the list of points with integral weights
     48  typedef std::list<std::pair<Vector, int> > WeightedPolygon_t;
    4749
    4850  /** General getter function for the distribution of points on the surface.
     
    7779   */
    7880  static Polygon_t matchSphericalPointDistributions(
    79       const Polygon_t &_polygon,
     81      const WeightedPolygon_t &_polygon,
    8082      const Polygon_t &_newpolygon
    8183      );
     
    121123
    122124  static IndexList_t findBestMatching(
    123       const Polygon_t &_polygon,
     125      const WeightedPolygon_t &_polygon,
    124126      const Polygon_t &_newpolygon
    125127      );
Note: See TracChangeset for help on using the changeset viewer.