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 "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;
|
---|
27 | class molecule;
|
---|
28 | class MoleculeListClass;
|
---|
29 | class Tesselation;
|
---|
30 | class TesselPoint;
|
---|
31 | class Vector;
|
---|
32 |
|
---|
33 | /********************************************** definitions *********************************/
|
---|
34 |
|
---|
35 | enum { DEBUG=1 };
|
---|
36 | enum { DoSingleStepOutput=0 };
|
---|
37 | enum { SingleStepWidth=10 };
|
---|
38 |
|
---|
39 | /********************************************** declarations *******************************/
|
---|
40 |
|
---|
41 | double ConvexizeNonconvexEnvelope(class Tesselation *&TesselStruct, const molecule * const mol, const char * const filename);
|
---|
42 | 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);
|
---|
43 | void FillVoidWithMolecule(molecule *filler, config &configuration, const double distance[NDIM], const double boundary, const double RandomAtomDisplacement, const double RandomMolDisplacement, const bool DoRandomRotation);
|
---|
44 | void FindConvexBorder(const molecule* const mol, Boundaries *BoundaryPts, Tesselation *&TesselStruct, const LinkedCell *LCList, const char *filename);
|
---|
45 | Vector* FindEmbeddingHole(MoleculeListClass *mols, molecule *srcmol);
|
---|
46 | bool FindNonConvexBorder(const molecule* const mol, Tesselation *&TesselStruct, const LinkedCell *&LC, const double RADIUS, const char *tempbasename);
|
---|
47 | Boundaries *GetBoundaryPoints(const molecule *mol, Tesselation *&TesselStruct);
|
---|
48 | double * GetDiametersOfCluster(const Boundaries *BoundaryPtr, const molecule *mol, Tesselation *&TesselStruct, const bool IsAngstroem);
|
---|
49 | void PrepareClustersinWater(config *configuration, molecule *mol, double ClusterVolume, double celldensity);
|
---|
50 | bool RemoveAllBoundaryPoints(class Tesselation *&TesselStruct, const molecule * const mol, const char * const filename);
|
---|
51 | void StoreTrianglesinFile(const molecule * const mol, const Tesselation * const TesselStruct, const char *filename, const char *extraSuffix);
|
---|
52 | double VolumeOfConvexEnvelope(class Tesselation *TesselStruct, class config *configuration);
|
---|
53 |
|
---|
54 |
|
---|
55 | #endif /*BOUNDARY_HPP_*/
|
---|