Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Zoltan2::GridHash Class Reference

GridHash Class, Hashing Class for part boxes. More...

#include <Zoltan2_CoordinatePartitioningGraph.hpp>

Public Member Functions

 GridHash (const RCP< std::vector< Zoltan2::coordinateModelPartBox > > &pBoxes_, part_t ntasks_, int dim_)
 GridHash Class, Constructor. More...
 
 ~GridHash ()
 GridHash Class, Destructor. More...
 
void fillAdjArrays ()
 GridHash Class, Function to fill adj arrays. More...
 
void getAdjArrays (ArrayRCP< part_t > &comXAdj_, ArrayRCP< part_t > &comAdj_)
 GridHash Class, returns the adj arrays. More...
 
part_t calculateNeighbors ()
 GridHash Class, For each box compares the adjacency against the boxes that are in the same buckets. More...
 
void insertToHash ()
 GridHash Class, For each box calculates the buckets which it should be inserted to. More...
 
void getMinMaxBoundaries ()
 GridHash Class, calculates the minimum of maximum box boundaries, and maxium of minimum box boundaries. More...
 

Detailed Description

GridHash Class, Hashing Class for part boxes.

Definition at line 474 of file Zoltan2_CoordinatePartitioningGraph.hpp.

Constructor & Destructor Documentation

Zoltan2::GridHash::GridHash ( const RCP< std::vector< Zoltan2::coordinateModelPartBox > > &  pBoxes_,
part_t  ntasks_,
int  dim_ 
)
inline

GridHash Class, Constructor.

Definition at line 504 of file Zoltan2_CoordinatePartitioningGraph.hpp.

Zoltan2::GridHash::~GridHash ( )
inline

GridHash Class, Destructor.

Definition at line 549 of file Zoltan2_CoordinatePartitioningGraph.hpp.

Member Function Documentation

void Zoltan2::GridHash::fillAdjArrays ( )
inline

GridHash Class, Function to fill adj arrays.

Definition at line 558 of file Zoltan2_CoordinatePartitioningGraph.hpp.

void Zoltan2::GridHash::getAdjArrays ( ArrayRCP< part_t > &  comXAdj_,
ArrayRCP< part_t > &  comAdj_ 
)
inline

GridHash Class, returns the adj arrays.

Definition at line 585 of file Zoltan2_CoordinatePartitioningGraph.hpp.

part_t Zoltan2::GridHash::calculateNeighbors ( )
inline

GridHash Class, For each box compares the adjacency against the boxes that are in the same buckets.

Definition at line 595 of file Zoltan2_CoordinatePartitioningGraph.hpp.

void Zoltan2::GridHash::insertToHash ( )
inline

GridHash Class, For each box calculates the buckets which it should be inserted to.

Definition at line 624 of file Zoltan2_CoordinatePartitioningGraph.hpp.

void Zoltan2::GridHash::getMinMaxBoundaries ( )
inline

GridHash Class, calculates the minimum of maximum box boundaries, and maxium of minimum box boundaries.

Definition at line 658 of file Zoltan2_CoordinatePartitioningGraph.hpp.


The documentation for this class was generated from the following file: