- Timestamp:
- May 25, 2016, 7:13:58 AM (9 years ago)
- Children:
- 4d611d
- Parents:
- 80c119
- git-author:
- Frederik Heber <heber@…> (06/29/14 21:20:49)
- git-committer:
- Frederik Heber <heber@…> (05/25/16 07:13:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Exporters/SphericalPointDistribution.hpp
r80c119 r7e9402 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. … … 71 73 static Polygon_t matchSphericalPointDistributions( 72 74 const WeightedPolygon_t &_polygon, 73 constPolygon_t &_newpolygon75 Polygon_t &_newpolygon 74 76 ); 75 77 … … 79 81 static const double SQRT_3; 80 82 83 //!> typedef for a full rotation specification consisting of axis and angle. 81 84 typedef std::pair<Vector, double> Rotation_t; 82 85 86 //!> typedef for a list of indices (of points in a polygon) 83 87 typedef std::list<unsigned int> IndexList_t; 88 //!> typedef enumerating possibly multiple points accumulated as one point 89 typedef std::list< IndexList_t > IndexTupleList_t; 90 //!> typedef for a vector of indices 84 91 typedef std::vector<unsigned int> IndexArray_t; 92 //!> typedef for a Vector of positions 85 93 typedef std::vector<Vector> VectorArray_t; 94 //!> typedef for a Vector of positions with weights 95 typedef std::vector< std::pair<Vector, int> > WeightedVectorArray_t; 86 96 87 97 //!> amplitude up to which deviations in checks of rotations are tolerated … … 89 99 90 100 private: 101 //!> grant unit tests access to private parts 102 friend class SphericalPointDistributionTest; 103 91 104 static std::pair<double, double> calculateErrorOfMatching( 92 105 const std::vector<Vector> &_old, … … 115 128 static IndexList_t findBestMatching( 116 129 const WeightedPolygon_t &_polygon, 117 const Polygon_t &_newpolygon 130 Polygon_t &_newpolygon 131 ); 132 133 static IndexList_t joinPoints( 134 Polygon_t &_newpolygon, 135 const VectorArray_t &_newpoints, 136 const IndexTupleList_t &_bestmatching 118 137 ); 119 138
Note:
See TracChangeset
for help on using the changeset viewer.
