Zoltan2  Version of the Day
Public Member Functions | List of all members
Zoltan2::GridHash< scalar_t, partId_t > Class Template Reference

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

#include <Zoltan2_CoordinatePartitioningGraph.hpp>

Public Member Functions

 GridHash (RCP< std::vector< Zoltan2::coordinateModelPartBox< scalar_t, partId_t > > > pBoxes_, partId_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< partId_t > &comXAdj_, ArrayRCP< partId_t > &comAdj_)
 GridHash Class, returns the adj arrays. More...
 
partId_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

template<typename scalar_t, typename partId_t>
class Zoltan2::GridHash< scalar_t, partId_t >

GridHash Class, Hashing Class for part boxes.

Definition at line 461 of file Zoltan2_CoordinatePartitioningGraph.hpp.

Constructor & Destructor Documentation

template<typename scalar_t, typename partId_t>
Zoltan2::GridHash< scalar_t, partId_t >::GridHash ( RCP< std::vector< Zoltan2::coordinateModelPartBox< scalar_t, partId_t > > >  pBoxes_,
partId_t  ntasks_,
int  dim_ 
)
inline

GridHash Class, Constructor.

Definition at line 488 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename partId_t>
Zoltan2::GridHash< scalar_t, partId_t >::~GridHash ( )
inline

GridHash Class, Destructor.

Definition at line 532 of file Zoltan2_CoordinatePartitioningGraph.hpp.

Member Function Documentation

template<typename scalar_t, typename partId_t>
void Zoltan2::GridHash< scalar_t, partId_t >::fillAdjArrays ( )
inline

GridHash Class, Function to fill adj arrays.

Definition at line 541 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename partId_t>
void Zoltan2::GridHash< scalar_t, partId_t >::getAdjArrays ( ArrayRCP< partId_t > &  comXAdj_,
ArrayRCP< partId_t > &  comAdj_ 
)
inline

GridHash Class, returns the adj arrays.

Definition at line 571 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename partId_t>
partId_t Zoltan2::GridHash< scalar_t, partId_t >::calculateNeighbors ( )
inline

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

Definition at line 581 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename partId_t>
void Zoltan2::GridHash< scalar_t, partId_t >::insertToHash ( )
inline

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

Definition at line 610 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename partId_t>
void Zoltan2::GridHash< scalar_t, partId_t >::getMinMaxBoundaries ( )
inline

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

Definition at line 644 of file Zoltan2_CoordinatePartitioningGraph.hpp.


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