Ignore:
Timestamp:
May 25, 2016, 7:13:57 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
81557e
Parents:
3b6956
git-author:
Frederik Heber <heber@…> (05/10/16 18:33:50)
git-committer:
Frederik Heber <heber@…> (05/25/16 07:13:57)
Message:

Revert "Trimmed down SphericalPointDistribution to what is needed at the moment."

This reverts commit 0241c59e7f10c73f87336715af0aadac2b2d4db1.

File:
1 edited

Legend:

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

    r3b6956 rd468b5  
    5757  }
    5858
    59   /** Initializes the polygon with the given \a _NumberOfPoints.
     59
     60  /** Matches a given spherical distribution with another containing more
     61   * points.
    6062   *
    61    * \param _NumberOfPoints number of points
     63   * This is a helper to determine points where to best insert saturation
     64   * hydrogens.
     65   *
     66   * \param _polygon current occupied positions
     67   * \param _newpolygon ideal distribution to match best with current occupied
     68   *        positions
     69   * \return remaining vacant positions relative to \a _polygon
    6270   */
    63   void initSelf(const int _NumberOfPoints);
     71  static Polygon_t matchSphericalPointDistributions(
     72      const Polygon_t &_polygon,
     73      const Polygon_t &_newpolygon
     74      );
     75
    6476
    6577  //!> default radius of the spherical distribution
     
    6779  //!> precalculated value for root of 3
    6880  const double SQRT_3;
    69   //!> points in this polygon
    70   Polygon_t points;
    7181};
    7282
Note: See TracChangeset for help on using the changeset viewer.