[8eb17a] | 1 | #ifndef BOUNDARY_HPP_
|
---|
| 2 | #define BOUNDARY_HPP_
|
---|
| 3 |
|
---|
[f66195] | 4 | /*********************************************** includes ***********************************/
|
---|
| 5 |
|
---|
[8eb17a] | 6 | // include config.h
|
---|
| 7 | #ifdef HAVE_CONFIG_H
|
---|
| 8 | #include <config.h>
|
---|
| 9 | #endif
|
---|
| 10 |
|
---|
[f66195] | 11 | #include <fstream>
|
---|
[986ed3] | 12 | #include <iosfwd>
|
---|
[f66195] | 13 |
|
---|
[8eb17a] | 14 | // STL headers
|
---|
| 15 | #include <map>
|
---|
| 16 |
|
---|
[06aedc] | 17 | #include "LinearAlgebra/defs.hpp"
|
---|
[6b5657] | 18 | #include "BoundaryMaps.hpp"
|
---|
[f66195] | 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;
|
---|
[6b5657] | 30 | class TesselPoint;
|
---|
[f66195] | 31 | class Vector;
|
---|
| 32 |
|
---|
| 33 | /********************************************** definitions *********************************/
|
---|
[357fba] | 34 |
|
---|
[88b400] | 35 | enum { DEBUG=1 };
|
---|
| 36 | enum { DoSingleStepOutput=0 };
|
---|
| 37 | enum { SingleStepWidth=10 };
|
---|
[8eb17a] | 38 |
|
---|
[f66195] | 39 | /********************************************** declarations *******************************/
|
---|
| 40 |
|
---|
[e138de] | 41 | double ConvexizeNonconvexEnvelope(class Tesselation *&TesselStruct, const molecule * const mol, const char * const filename);
|
---|
[7a51be] | 42 | void 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);
|
---|
[66fd49] | 43 | void FillVoidWithMolecule(molecule *&filler, config &configuration, const double distance[NDIM], const double boundary, const double RandomAtomDisplacement, const double RandomMolDisplacement, const double MinDistance, const bool DoRandomRotation);
|
---|
[34c43a] | 44 | void FindConvexBorder(const molecule* const mol, Boundaries *BoundaryPts, Tesselation *&TesselStruct, const LinkedCell *LCList, const char *filename);
|
---|
[e138de] | 45 | Vector* FindEmbeddingHole(MoleculeListClass *mols, molecule *srcmol);
|
---|
[34c43a] | 46 | bool FindNonConvexBorder(molecule* const mol, Tesselation *&TesselStruct, const LinkedCell *&LC, const double RADIUS, const char *tempbasename);
|
---|
[e138de] | 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);
|
---|
[71b20e] | 51 | void StoreTrianglesinFile(const molecule * const mol, const Tesselation * const TesselStruct, const char *filename, const char *extraSuffix);
|
---|
[e138de] | 52 | double VolumeOfConvexEnvelope(class Tesselation *TesselStruct, class config *configuration);
|
---|
[0077b5] | 53 |
|
---|
[8eb17a] | 54 |
|
---|
| 55 | #endif /*BOUNDARY_HPP_*/
|
---|