source: molecuilder/src/boundary.hpp@ daf956

Last change on this file since daf956 was daf956, checked in by Frederik Heber <heber@…>, 16 years ago

Fixes to the (Non)ConvexTesselation, working with 1_2_dimethoxyethylene

minor changes:

major changes:

  • Property mode set to 100755
File size: 2.0 KB
RevLine 
[dcf51d]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
[e78824]12#include "config.hpp"
[e08f45]13#include "linkedcell.hpp"
[dcf51d]14#include "molecules.hpp"
[834ff3]15#include "tesselation.hpp"
16
17#define DEBUG 1
[60cbe5]18#define DoSingleStepOutput 1
[0fc0b5]19#define SingleStepWidth 1
[dcf51d]20
[eb167d]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
[53d153]29double VolumeOfConvexEnvelope(ofstream *out, class Tesselation *TesselStruct, class config *configuration);
[3f0c46]30double * GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol, bool IsAngstroem);
[0779a9]31void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity);
[4e4940]32molecule * FillBoxWithMolecule(ofstream *out, MoleculeListClass *List, molecule *filler, config &configuration, double distance[NDIM], double RandAtomDisplacement, double RandMolDisplacement, bool DoRandomRotation);
[48cd93]33void FindConvexBorder(ofstream *out, molecule* mol, class LinkedCell *LCList, const char *filename);
[60cbe5]34void FindNonConvexBorder(ofstream *out, molecule* mol, class LinkedCell *LC, const double RADIUS, const char *tempbasename);
[3de1d2]35double ConvexizeNonconvexEnvelope(ofstream *out, class Tesselation *TesselStruct, molecule *mol, char *filename);
[48cd93]36void FindNextSuitablePoint(class BoundaryTriangleSet *BaseTriangle, class BoundaryLineSet *BaseLine, atom*& OptCandidate, Vector *OptCandidateCenter, double *ShortestAngle, const double RADIUS, LinkedCell *LC);
[834ff3]37Boundaries *GetBoundaryPoints(ofstream *out, molecule *mol);
[27459a]38void StoreTrianglesinFile(ofstream *out, molecule *mol, const char *filename, const char *extraSuffix);
[8b7e0a]39bool RemoveAllBoundaryPoints(ofstream *out, class Tesselation *TesselStruct, molecule *mol, char *filename);
[27459a]40
[dcf51d]41
42#endif /*BOUNDARY_HPP_*/
Note: See TracBrowser for help on using the repository browser.