Changes in src/boundary.hpp [f66195:0077b5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/boundary.hpp
rf66195 r0077b5 1 1 #ifndef BOUNDARY_HPP_ 2 2 #define BOUNDARY_HPP_ 3 4 using namespace std;5 6 /*********************************************** includes ***********************************/7 3 8 4 // include config.h … … 11 7 #endif 12 8 13 #include <fstream>14 #include <iostream>15 16 9 // STL headers 17 10 #include <map> 18 11 19 #include "defs.hpp" 20 21 /****************************************** forward declarations *****************************/ 22 23 class atom; 24 class BoundaryPointSet; 25 class BoundaryLineSet; 26 class BoundaryTriangleSet; 27 class config; 28 class LinkedCell; 29 class molecule; 30 class MoleculeListClass; 31 class Tesselation; 32 class Vector; 33 34 /********************************************** definitions *********************************/ 12 #include "config.hpp" 13 #include "linkedcell.hpp" 14 #include "molecules.hpp" 15 #include "tesselation.hpp" 35 16 36 17 #define DEBUG 1 37 18 #define DoSingleStepOutput 0 38 19 #define SingleStepWidth 1 20 #define DoTecplotOutput 1 21 #define DoRaster3DOutput 1 22 #define DoVRMLOutput 1 23 #define TecplotSuffix ".dat" 24 #define Raster3DSuffix ".r3d" 25 #define VRMLSUffix ".wrl" 39 26 40 27 #define DistancePair pair < double, atom* > … … 46 33 #define BoundariesTestPair pair< Boundaries::iterator, bool> 47 34 48 /********************************************** declarations *******************************/49 50 35 double VolumeOfConvexEnvelope(ofstream *out, class Tesselation *TesselStruct, class config *configuration); 51 36 double * GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol, bool IsAngstroem); 52 37 void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity); 53 38 molecule * FillBoxWithMolecule(ofstream *out, MoleculeListClass *List, molecule *filler, config &configuration, double distance[NDIM], double RandAtomDisplacement, double RandMolDisplacement, bool DoRandomRotation); 54 void Find ConvexBorder(ofstream *out, molecule* mol, class LinkedCell *LCList, const char *filename);55 void Find NonConvexBorder(ofstream *out, molecule* mol, class LinkedCell *LC, const double RADIUS, const char *tempbasename);39 void Find_convex_border(ofstream *out, molecule* mol, class LinkedCell *LCList, const char *filename); 40 void Find_non_convex_border(ofstream *out, molecule* mol, class LinkedCell *LC, const char *tempbasename, const double RADIUS); 56 41 double ConvexizeNonconvexEnvelope(ofstream *out, class Tesselation *TesselStruct, molecule *mol, char *filename); 57 void Find NextSuitablePoint(class BoundaryTriangleSet *BaseTriangle, class BoundaryLineSet *BaseLine, atom*& OptCandidate, Vector *OptCandidateCenter, double *ShortestAngle, const double RADIUS, LinkedCell *LC);42 void Find_next_suitable_point(class BoundaryTriangleSet *BaseTriangle, class BoundaryLineSet *BaseLine, atom*& OptCandidate, Vector *OptCandidateCenter, double *ShortestAngle, const double RADIUS, LinkedCell *LC); 58 43 Boundaries *GetBoundaryPoints(ofstream *out, molecule *mol); 44 void CalculateConcavityPerBoundaryPoint(ofstream *out, class Tesselation *TesselStruct); 59 45 void StoreTrianglesinFile(ofstream *out, molecule *mol, const char *filename, const char *extraSuffix); 60 bool RemoveAllBoundaryPoints(ofstream *out, class Tesselation *TesselStruct, molecule *mol, char *filename);61 46 62 47
Note:
See TracChangeset
for help on using the changeset viewer.