Changes in src/boundary.hpp [ed060e:cc2ee5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/boundary.hpp
-
Property mode
changed from
100644
to100755
red060e rcc2ee5 36 36 BoundaryPointSet(atom *Walker); 37 37 ~BoundaryPointSet(); 38 38 39 39 void AddLine(class BoundaryLineSet *line); 40 40 41 41 LineMap lines; 42 42 int LinesCount; … … 64 64 BoundaryTriangleSet(class BoundaryLineSet *line[3], int number); 65 65 ~BoundaryTriangleSet(); 66 66 67 67 void GetNormalVector(Vector &NormalVector); 68 68 69 69 class BoundaryPointSet *endpoints[3]; 70 70 class BoundaryLineSet *lines[3]; 71 Vector NormalVector; 71 72 int Nr; 72 73 }; … … 74 75 class Tesselation { 75 76 public: 76 77 77 78 Tesselation(); 78 79 ~Tesselation(); 79 80 80 81 void TesselateOnBoundary(ofstream *out, config *configuration, molecule *mol); 81 82 void GuessStartingTriangle(ofstream *out); 82 83 void AddPoint(atom * Walker); 83 84 void AddTrianglePoint(atom* Candidate, int n); 85 void AddTriangleLine(class BoundaryPointSet *a, class BoundaryPointSet *b, int n); 86 void AddTriangleToLines(); 87 void Find_starting_triangle(molecule* mol, const double RADIUS); 88 bool Find_next_suitable_triangle(ofstream *out, ofstream *tecplot, molecule* mol, BoundaryLineSet &Line, BoundaryTriangleSet &T, const double& RADIUS, int N, const char *filename); 89 bool CheckPresenceOfTriangle(ofstream *out, atom *a, atom *b, atom *c); 90 void Find_next_suitable_point_via_Angle_of_Sphere(atom* a, atom* b, atom* c, atom* Candidate, atom* Parent, int RecursionLevel, Vector *Chord, Vector *direction1, Vector *OldNormal, Vector ReferencePoint, atom*& Opt_Candidate, double *Storage, const double RADIUS, molecule* mol); 91 84 92 PointMap PointsOnBoundary; 85 93 LineMap LinesOnBoundary; 86 94 TriangleMap TrianglesOnBoundary; 95 class BoundaryPointSet *TPS[3]; //this is a Storage for pointers to triangle points, this and BPS[2] needed due to AddLine restrictions 87 96 class BoundaryPointSet *BPS[2]; 88 97 class BoundaryLineSet *BLS[3]; … … 91 100 int LinesOnBoundaryCount; 92 101 int TrianglesOnBoundaryCount; 102 int TriangleFilesWritten; 93 103 }; 94 104 … … 99 109 100 110 101 double VolumeOfConvexEnvelope(ofstream *out, config *configuration, Boundaries *BoundaryPoints, molecule *mol);111 double VolumeOfConvexEnvelope(ofstream *out, ofstream *tecplot, config *configuration, Boundaries *BoundaryPoints, molecule *mol); 102 112 double * GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol, bool IsAngstroem); 103 113 void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity); 114 void Find_non_convex_border(ofstream *out, ofstream *tecplot, molecule* mol, const char *tempbasename, const double RADIUS); 115 void Find_next_suitable_point(atom a, atom b, atom Candidate, int n, Vector *d1, Vector *d2, atom*& Opt_Candidate, double *Storage, const double RADIUS, molecule *mol, bool problem); 104 116 105 117 -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.