LoAdSG
MultiDepthHashCellStructure.h
1#ifndef MULTIDEPTHHASHCELLSTRUCTURE_H
2#define MULTIDEPTHHASHCELLSTRUCTURE_H
3
4
5#include "celldimension.h"
6
7class CellDimension;
8
9/*class SingleDepthHashCellStructure{
10
11#ifndef BENCHMARKING
12private:
13#else
14 public:
15#endif
16 friend MultiDepthHashGrid;
17 friend MultiLevelVector;
18
19
20
21 AdaptiveSparseGrid_Base &_grid;
22 const Depth _depth;
23
24
25public:
26 SimpleMultiHash<CellDimension,Depth> _map;
27
28 SingleDepthHashCellStructure(Depth depth, AdaptiveSparseGrid_Base &grid);//:_grid(grid),_depth(depth){}
29
30
31 bool addPoint(const CellDimension &key);
32
33
34 Depth getDepth() const {return _depth;}
35
36 bool isDepth(const Depth & depth) const {return _depth == depth;}
37
38 size_t getNumberOfEntries() const { return _map.size();}
39
40};*/
41
42
43
44
45#endif