Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/boundary.hpp

    • Property mode changed from 100644 to 100755
    red060e rcc2ee5  
    3636    BoundaryPointSet(atom *Walker);
    3737    ~BoundaryPointSet();
    38    
     38
    3939    void AddLine(class BoundaryLineSet *line);
    40    
     40
    4141    LineMap lines;
    4242    int LinesCount;
     
    6464    BoundaryTriangleSet(class BoundaryLineSet *line[3], int number);
    6565    ~BoundaryTriangleSet();
    66    
     66
    6767    void GetNormalVector(Vector &NormalVector);
    68    
     68
    6969    class BoundaryPointSet *endpoints[3];
    7070    class BoundaryLineSet *lines[3];
     71    Vector NormalVector;
    7172    int Nr;
    7273};
     
    7475class Tesselation {
    7576  public:
    76    
     77
    7778    Tesselation();
    7879    ~Tesselation();
    79    
     80
    8081    void TesselateOnBoundary(ofstream *out, config *configuration, molecule *mol);
    8182    void GuessStartingTriangle(ofstream *out);
    8283    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
    8492    PointMap PointsOnBoundary;
    8593    LineMap LinesOnBoundary;
    8694    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
    8796    class BoundaryPointSet *BPS[2];
    8897    class BoundaryLineSet *BLS[3];
     
    91100    int LinesOnBoundaryCount;
    92101    int TrianglesOnBoundaryCount;
     102    int TriangleFilesWritten;
    93103};
    94104
     
    99109
    100110
    101 double VolumeOfConvexEnvelope(ofstream *out, config *configuration, Boundaries *BoundaryPoints, molecule *mol);
     111double VolumeOfConvexEnvelope(ofstream *out, ofstream *tecplot, config *configuration, Boundaries *BoundaryPoints, molecule *mol);
    102112double * GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol, bool IsAngstroem);
    103113void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity);
     114void Find_non_convex_border(ofstream *out, ofstream *tecplot, molecule* mol, const char *tempbasename, const double RADIUS);
     115void 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);
    104116
    105117
Note: See TracChangeset for help on using the changeset viewer.