Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linkedcell.hpp

    rffe885 r776b64  
    3333/********************************************** definitions *********************************/
    3434
     35#define LinkedNodes list<TesselPoint *>
    3536
    3637/********************************************** declarations *******************************/
     
    3940 */
    4041class LinkedCell {
    41 private:
    42 
    43 public:
    44   typedef list<TesselPoint *> LinkedNodes;
    45 
    46 
     42  public:
    4743    Vector max;       // upper boundary
    4844    Vector min;       // lower boundary
     
    5753    LinkedCell(LinkedNodes *set, const double radius);
    5854    ~LinkedCell();
    59     const LinkedCell::LinkedNodes* GetCurrentCell()const ;
    60     const LinkedCell::LinkedNodes* GetRelativeToCurrentCell(const int relative[NDIM])const ;
     55    const LinkedNodes* GetCurrentCell()const ;
     56    const LinkedNodes* GetRelativeToCurrentCell(const int relative[NDIM])const ;
    6157    bool SetIndexToNode(const TesselPoint * const Walker)const ;
    6258    bool SetIndexToVector(const Vector * const x)const ;
    63     double SetClosestIndexToOutsideVector(const Vector * const x) const;
    6459    bool CheckBounds()const ;
    6560    bool CheckBounds(const int relative[NDIM])const ;
    66     void GetNeighbourBounds(int lower[NDIM], int upper[NDIM], int step = 1)const ;
     61    void GetNeighbourBounds(int lower[NDIM], int upper[NDIM])const ;
    6762
    68     LinkedCell::LinkedNodes* GetallNeighbours(const double distance = 0) const;
    69     LinkedCell::LinkedNodes* GetPointsInsideSphere(const double radius, const Vector * const center) const;
    7063    // not implemented yet
    7164    bool AddNode(Vector *Walker);
Note: See TracChangeset for help on using the changeset viewer.