Ignore:
Timestamp:
May 25, 2016, 7:13:58 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
7e9402
Parents:
6cf5bb
git-author:
Frederik Heber <heber@…> (06/29/14 18:02:32)
git-committer:
Frederik Heber <heber@…> (05/25/16 07:13:58)
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

    r6cf5bb r80c119  
    4444  //!> typedef for the list of points
    4545  typedef std::list<Vector> Polygon_t;
     46  //!> typedef for the list of points with integral weights
     47  typedef std::list<std::pair<Vector, int> > WeightedPolygon_t;
    4648
    4749  /** General getter function for the distribution of points on the surface.
     
    6870   */
    6971  static Polygon_t matchSphericalPointDistributions(
    70       const Polygon_t &_polygon,
     72      const WeightedPolygon_t &_polygon,
    7173      const Polygon_t &_newpolygon
    7274      );
     
    112114
    113115  static IndexList_t findBestMatching(
    114       const Polygon_t &_polygon,
     116      const WeightedPolygon_t &_polygon,
    115117      const Polygon_t &_newpolygon
    116118      );
Note: See TracChangeset for help on using the changeset viewer.