10 #ifndef SFCSORTBENCH_NODE_H 11 #define SFCSORTBENCH_NODE_H 41 Node(
unsigned int px,
unsigned int py,
unsigned int pz,
unsigned int plevel,
unsigned int pDim,
unsigned int pMaxDepth)
51 Node(
unsigned int pLevel,
unsigned int pMaxDepth)
75 inline void setOwner(
unsigned int ownerID) {m_uiOwner=ownerID;}
77 inline void operator= (
const Node& node )
83 m_uiOwner=node.m_uiOwner;
97 inline int getOwner(){
return m_uiOwner;}
107 template <
typename T>
217 static bool first =
true;
218 static MPI_Datatype datatype;
223 MPI_Type_contiguous(
sizeof(
ot::Node), MPI_BYTE, &datatype);
224 MPI_Type_commit(&datatype);
235 #endif //SFCSORTBENCH_NODE_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
An abstract class used for communicating messages using user-defined datatypes. The user must impleme...
Definition: zoltan_hilbert.h:76
Collection of Generic Parallel Functions: Sorting, Partitioning, Searching,...
Definition: zoltan_hilbert.h:72
unsigned int getX() const
get integer values of the octree coordinates.
Definition: TreeNode.h:366
static MPI_Datatype value()
User defined MPI_Operation that sets second[i] to first[i] if first[i] is at a greater level than sec...
Definition: node.h:215