Changeset 6dd8d3 for molecuilder/src/linkedcell.hpp
- Timestamp:
- Apr 9, 2010, 9:55:39 AM (16 years ago)
- Children:
- bd8561
- Parents:
- 6250e5
- File:
-
- 1 edited
-
molecuilder/src/linkedcell.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/linkedcell.hpp
r6250e5 r6dd8d3 33 33 /********************************************** definitions *********************************/ 34 34 35 #define LinkedNodes list<TesselPoint *>36 35 37 36 /********************************************** declarations *******************************/ … … 40 39 */ 41 40 class LinkedCell { 42 public: 41 private: 42 43 public: 44 typedef list<TesselPoint *> LinkedNodes; 45 46 43 47 Vector max; // upper boundary 44 48 Vector min; // lower boundary … … 53 57 LinkedCell(LinkedNodes *set, const double radius); 54 58 ~LinkedCell(); 55 const Linked Nodes* GetCurrentCell()const ;56 const Linked Nodes* GetRelativeToCurrentCell(const int relative[NDIM])const ;59 const LinkedCell::LinkedNodes* GetCurrentCell()const ; 60 const LinkedCell::LinkedNodes* GetRelativeToCurrentCell(const int relative[NDIM])const ; 57 61 bool SetIndexToNode(const TesselPoint * const Walker)const ; 58 62 bool SetIndexToVector(const Vector * const x)const ; … … 60 64 bool CheckBounds(const int relative[NDIM])const ; 61 65 void GetNeighbourBounds(int lower[NDIM], int upper[NDIM])const ; 66 67 LinkedCell::LinkedNodes* GetallNeighbours(const double distance) const; 68 LinkedCell::LinkedNodes* GetPointsInsideSphere(const double radius, const Vector * const center) const; 62 69 63 70 // not implemented yet
Note:
See TracChangeset
for help on using the changeset viewer.
