| 1 | #ifndef BOUNDARY_HPP_ | 
|---|
| 2 | #define BOUNDARY_HPP_ | 
|---|
| 3 |  | 
|---|
| 4 | /*********************************************** includes ***********************************/ | 
|---|
| 5 |  | 
|---|
| 6 | // include config.h | 
|---|
| 7 | #ifdef HAVE_CONFIG_H | 
|---|
| 8 | #include <config.h> | 
|---|
| 9 | #endif | 
|---|
| 10 |  | 
|---|
| 11 | #include <fstream> | 
|---|
| 12 | #include <iosfwd> | 
|---|
| 13 |  | 
|---|
| 14 | // STL headers | 
|---|
| 15 | #include <map> | 
|---|
| 16 |  | 
|---|
| 17 | #include "LinearAlgebra/defs.hpp" | 
|---|
| 18 | #include "BoundaryMaps.hpp" | 
|---|
| 19 |  | 
|---|
| 20 | /****************************************** forward declarations *****************************/ | 
|---|
| 21 |  | 
|---|
| 22 | class BoundaryPointSet; | 
|---|
| 23 | class BoundaryLineSet; | 
|---|
| 24 | class BoundaryTriangleSet; | 
|---|
| 25 | class config; | 
|---|
| 26 | class LinkedCell_deprecated; | 
|---|
| 27 | class molecule; | 
|---|
| 28 | class Tesselation; | 
|---|
| 29 | class TesselPoint; | 
|---|
| 30 | class Vector; | 
|---|
| 31 |  | 
|---|
| 32 | /********************************************** definitions *********************************/ | 
|---|
| 33 |  | 
|---|
| 34 | enum { DEBUG=1 }; | 
|---|
| 35 | enum { DoSingleStepOutput=0 }; | 
|---|
| 36 | enum { SingleStepWidth=10 }; | 
|---|
| 37 |  | 
|---|
| 38 | /********************************************** declarations *******************************/ | 
|---|
| 39 |  | 
|---|
| 40 | double ConvexizeNonconvexEnvelope(class Tesselation *&TesselStruct, const molecule * const mol, const char * const filename, bool DebugOutputEveryStep = false); | 
|---|
| 41 | void FindConvexBorder(const molecule* const mol, Boundaries *BoundaryPts, Tesselation *&TesselStruct, const LinkedCell_deprecated *LCList, const char *filename); | 
|---|
| 42 | bool FindNonConvexBorder(molecule* const mol, Tesselation *&TesselStruct, const LinkedCell_deprecated *&LC, const double RADIUS, const char *tempbasename); | 
|---|
| 43 | Boundaries *GetBoundaryPoints(const molecule *mol, Tesselation *&TesselStruct); | 
|---|
| 44 | double * GetDiametersOfCluster(const Boundaries *BoundaryPtr, const molecule *mol, Tesselation *&TesselStruct, const bool IsAngstroem); | 
|---|
| 45 | bool RemoveAllBoundaryPoints(class Tesselation *&TesselStruct, const molecule * const mol, const char * const filename); | 
|---|
| 46 | void StoreTrianglesinFile(const molecule * const mol, const Tesselation * const TesselStruct, const char *filename, const char *extraSuffix); | 
|---|
| 47 |  | 
|---|
| 48 |  | 
|---|
| 49 | #endif /*BOUNDARY_HPP_*/ | 
|---|