Ignore:
Timestamp:
Aug 20, 2014, 1:03:21 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
97dff0
Parents:
97d6ab
git-author:
Frederik Heber <heber@…> (05/29/14 11:29:03)
git-committer:
Frederik Heber <heber@…> (08/20/14 13:03:21)
Message:

Added matchSphericalPointDistributions() to SphericalPointDistribution.

  • so far we do nothing.
File:
1 edited

Legend:

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

    r97d6ab r972412  
    5757  }
    5858
     59  /** Matches a given spherical distribution with another containing more
     60   * points.
     61   *
     62   * This is a helper to determine points where to best insert saturation
     63   * hydrogens.
     64   *
     65   * \param _polygon current occupied positions
     66   * \param _newpolygon ideal distribution to match best with current occupied
     67   *        positions
     68   * \return remaining vacant positions relative to \a _polygon
     69   */
     70  static Polygon_t matchSphericalPointDistributions(
     71      const Polygon_t &_polygon,
     72      const Polygon_t &_newpolygon
     73      );
     74
     75
    5976  //!> default radius of the spherical distribution
    6077  const double Bondlength;
     
    6279  const double SQRT_3;
    6380};
     81
     82SphericalPointDistribution::Polygon_t
     83SphericalPointDistribution::matchSphericalPointDistributions(
     84    const SphericalPointDistribution::Polygon_t &_polygon,
     85    const SphericalPointDistribution::Polygon_t &_newpolygon
     86    )
     87{
     88  SphericalPointDistribution::Polygon_t remainingpolygon = _newpolygon;
     89
     90  return remainingpolygon;
     91}
    6492
    6593template <>
Note: See TracChangeset for help on using the changeset viewer.