| 1 | #ifndef BOUNDARY_HPP_ | 
|---|
| 2 | #define BOUNDARY_HPP_ | 
|---|
| 3 |  | 
|---|
| 4 | // include config.h | 
|---|
| 5 | #ifdef HAVE_CONFIG_H | 
|---|
| 6 | #include <config.h> | 
|---|
| 7 | #endif | 
|---|
| 8 |  | 
|---|
| 9 | // STL headers | 
|---|
| 10 | #include <map> | 
|---|
| 11 |  | 
|---|
| 12 | #include "config.hpp" | 
|---|
| 13 | #include "linkedcell.hpp" | 
|---|
| 14 | #include "molecules.hpp" | 
|---|
| 15 | #include "tesselation.hpp" | 
|---|
| 16 |  | 
|---|
| 17 | #define DEBUG 1 | 
|---|
| 18 | #define DoSingleStepOutput 1 | 
|---|
| 19 | #define SingleStepWidth 1 | 
|---|
| 20 |  | 
|---|
| 21 | #define DistancePair pair < double, atom* > | 
|---|
| 22 | #define DistanceMap multimap < double, atom* > | 
|---|
| 23 | #define DistanceTestPair pair < DistanceMap::iterator, bool> | 
|---|
| 24 |  | 
|---|
| 25 | #define Boundaries map <double, DistancePair > | 
|---|
| 26 | #define BoundariesPair pair<double, DistancePair > | 
|---|
| 27 | #define BoundariesTestPair pair< Boundaries::iterator, bool> | 
|---|
| 28 |  | 
|---|
| 29 | double VolumeOfConvexEnvelope(ofstream *out, class Tesselation *TesselStruct, class config *configuration); | 
|---|
| 30 | double * GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol, bool IsAngstroem); | 
|---|
| 31 | void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity); | 
|---|
| 32 | molecule * FillBoxWithMolecule(ofstream *out, MoleculeListClass *List, molecule *filler, config &configuration, double distance[NDIM], double RandAtomDisplacement, double RandMolDisplacement, bool DoRandomRotation); | 
|---|
| 33 | void FindConvexBorder(ofstream *out, molecule* mol, class LinkedCell *LCList, const char *filename); | 
|---|
| 34 | void FindNonConvexBorder(ofstream *out, molecule* mol, class LinkedCell *LC, const double RADIUS, const char *tempbasename); | 
|---|
| 35 | double ConvexizeNonconvexEnvelope(ofstream *out, class Tesselation *TesselStruct, molecule *mol, char *filename); | 
|---|
| 36 | void FindNextSuitablePoint(class BoundaryTriangleSet *BaseTriangle, class BoundaryLineSet *BaseLine, atom*& OptCandidate, Vector *OptCandidateCenter, double *ShortestAngle, const double RADIUS, LinkedCell *LC); | 
|---|
| 37 | Boundaries *GetBoundaryPoints(ofstream *out, molecule *mol); | 
|---|
| 38 | void StoreTrianglesinFile(ofstream *out, molecule *mol, const char *filename, const char *extraSuffix); | 
|---|
| 39 | bool RemoveAllBoundaryPoints(ofstream *out, class Tesselation *TesselStruct, molecule *mol, char *filename); | 
|---|
| 40 |  | 
|---|
| 41 |  | 
|---|
| 42 | #endif /*BOUNDARY_HPP_*/ | 
|---|