Changes in src/boundary.hpp [986ed3:88b400]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/boundary.hpp
r986ed3 r88b400 34 34 /********************************************** definitions *********************************/ 35 35 36 #define DEBUG 1 37 #define DoSingleStepOutput 0 38 #define SingleStepWidth 10 36 enum { DEBUG=1 }; 37 enum { DoSingleStepOutput=0 }; 38 enum { SingleStepWidth=10 }; 39 39 40 #define DistancePair pair < double, atom* > 41 #define DistanceMap multimap < double, atom* > 42 #define DistanceTestPair pair < DistanceMap::iterator, bool> 40 typedef std::pair < double, class atom* > DistancePair; 41 typedef std::multimap < double, class atom* > DistanceMap; 42 typedef std::pair < DistanceMap::iterator, bool> DistanceTestPair; 43 43 44 #define Boundaries map <double, DistancePair > 45 #define BoundariesPair pair<double, DistancePair > 46 #define BoundariesTestPair pair< Boundaries::iterator, bool> 44 typedef std::map <double, DistancePair > Boundaries; 45 typedef std::pair<double, DistancePair > BoundariesPair; 46 typedef std::pair< Boundaries::iterator, bool> BoundariesTestPair; 47 47 48 48 /********************************************** declarations *******************************/ … … 50 50 double ConvexizeNonconvexEnvelope(class Tesselation *&TesselStruct, const molecule * const mol, const char * const filename); 51 51 molecule * FillBoxWithMolecule(MoleculeListClass *List, molecule *filler, config &configuration, const double MaxDistance, const double distance[NDIM], const double boundary, const double RandomAtomDisplacement, const double RandomMolDisplacement, const bool DoRandomRotation); 52 void FindConvexBorder(const molecule* const mol, Tesselation *&TesselStruct, const LinkedCell *LCList, const char *filename);52 void FindConvexBorder(const molecule* const mol, Boundaries *BoundaryPts, Tesselation *&TesselStruct, const LinkedCell *LCList, const char *filename); 53 53 Vector* FindEmbeddingHole(MoleculeListClass *mols, molecule *srcmol); 54 54 void FindNextSuitablePoint(class BoundaryTriangleSet *BaseTriangle, class BoundaryLineSet *BaseLine, atom*& OptCandidate, Vector *OptCandidateCenter, double *ShortestAngle, const double RADIUS, LinkedCell *LC);
Note:
See TracChangeset
for help on using the changeset viewer.