- Timestamp:
- Aug 20, 2014, 1:04:08 PM (11 years ago)
- Children:
- 23c605
- Parents:
- 260540
- git-author:
- Frederik Heber <heber@…> (06/29/14 21:20:49)
- git-committer:
- Frederik Heber <heber@…> (08/20/14 13:04:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Exporters/SphericalPointDistribution.hpp
r260540 r1ae9aa 21 21 22 22 #include "LinearAlgebra/Vector.hpp" 23 24 class SphericalPointDistributionTest; 23 25 24 26 /** contains getters for the VSEPR model for specific number of electrons. … … 80 82 static Polygon_t matchSphericalPointDistributions( 81 83 const WeightedPolygon_t &_polygon, 82 constPolygon_t &_newpolygon84 Polygon_t &_newpolygon 83 85 ); 84 86 … … 88 90 const double SQRT_3; 89 91 92 //!> typedef for a full rotation specification consisting of axis and angle. 90 93 typedef std::pair<Vector, double> Rotation_t; 91 94 95 //!> typedef for a list of indices (of points in a polygon) 92 96 typedef std::list<unsigned int> IndexList_t; 97 //!> typedef enumerating possibly multiple points accumulated as one point 98 typedef std::list< IndexList_t > IndexTupleList_t; 99 //!> typedef for a vector of indices 93 100 typedef std::vector<unsigned int> IndexArray_t; 101 //!> typedef for a Vector of positions 94 102 typedef std::vector<Vector> VectorArray_t; 103 //!> typedef for a Vector of positions with weights 104 typedef std::vector< std::pair<Vector, int> > WeightedVectorArray_t; 95 105 96 106 //!> amplitude up to which deviations in checks of rotations are tolerated … … 98 108 99 109 private: 110 //!> grant unit tests access to private parts 111 friend class SphericalPointDistributionTest; 112 100 113 static std::pair<double, double> calculateErrorOfMatching( 101 114 const std::vector<Vector> &_old, … … 124 137 static IndexList_t findBestMatching( 125 138 const WeightedPolygon_t &_polygon, 126 const Polygon_t &_newpolygon 139 Polygon_t &_newpolygon 140 ); 141 142 static IndexList_t joinPoints( 143 Polygon_t &_newpolygon, 144 const VectorArray_t &_newpoints, 145 const IndexTupleList_t &_bestmatching 127 146 ); 128 147
Note:
See TracChangeset
for help on using the changeset viewer.
