10 #ifndef SFCSORTBENCH_KEY_H 11 #define SFCSORTBENCH_KEY_H 30 std::vector<unsigned int >m_uiOwnerList;
31 std::vector<unsigned int> m_uiStencilIndexWithDirection;
32 unsigned int m_uiSearchResult;
44 m_uiOwnerList.clear();
45 m_uiStencilIndexWithDirection.clear();
49 Key(
unsigned int px,
unsigned int py,
unsigned int pz,
unsigned int plevel,
unsigned int pDim,
unsigned int pMaxDepth)
57 m_uiOwnerList.clear();
58 m_uiStencilIndexWithDirection.clear();
63 Key(
unsigned int pLevel,
unsigned int pMaxDepth)
71 m_uiOwnerList.clear();
72 m_uiStencilIndexWithDirection.clear();
85 m_uiOwnerList.clear();
86 m_uiStencilIndexWithDirection.clear();
95 m_uiOwnerList.clear();
96 m_uiStencilIndexWithDirection.clear();
113 m_uiOwnerList.clear();
114 m_uiStencilIndexWithDirection.clear();
119 inline void setSearchResult(
unsigned int pIndex)
121 m_uiSearchResult=pIndex;
124 inline void addOwner(
unsigned int ownerLocalID){
125 m_uiOwnerList.push_back(ownerLocalID);
130 inline void addStencilIndexAndDirection(
unsigned int index,
unsigned int direction)
132 m_uiStencilIndexWithDirection.push_back(((index<<3) | direction));
136 inline unsigned int getOwnerListSize(){
return m_uiOwnerList.size();}
137 inline std::vector<unsigned int>*getOwnerList(){
return &m_uiOwnerList; }
138 inline std::vector<unsigned int>*getStencilIndexDirectionList(){
return &m_uiStencilIndexWithDirection; }
140 inline unsigned int getSearchResult()
const {
return m_uiSearchResult;}
148 #endif //SFCSORTBENCH_KEY_H Simple class to manage async data transfer in the ODA class.
Definition: asyncExchangeContex.h:16
unsigned int getFlag() const
get the m_uiFlag value. Which is used to store the level and other aditional info.
Definition: TreeNode.h:402
A class to manage octants.
Definition: TreeNode.h:35
unsigned int getX() const
get integer values of the octree coordinates.
Definition: TreeNode.h:366