Zoltan2
Public Member Functions
Zoltan2::GridHash< scalar_t, part_t > Class Template Reference

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

#include <Zoltan2_CoordinatePartitioningGraph.hpp>

List of all members.

Public Member Functions

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

Detailed Description

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

GridHash Class, Hashing Class for part boxes.

Definition at line 481 of file Zoltan2_CoordinatePartitioningGraph.hpp.


Constructor & Destructor Documentation

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

GridHash Class, Constructor.

Definition at line 508 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename part_t>
Zoltan2::GridHash< scalar_t, part_t >::~GridHash ( ) [inline]

GridHash Class, Destructor.

Definition at line 553 of file Zoltan2_CoordinatePartitioningGraph.hpp.


Member Function Documentation

template<typename scalar_t, typename part_t>
void Zoltan2::GridHash< scalar_t, part_t >::fillAdjArrays ( ) [inline]

GridHash Class, Function to fill adj arrays.

Definition at line 562 of file Zoltan2_CoordinatePartitioningGraph.hpp.

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

GridHash Class, returns the adj arrays.

Definition at line 591 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename part_t>
part_t Zoltan2::GridHash< scalar_t, part_t >::calculateNeighbors ( ) [inline]

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

Definition at line 601 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename part_t>
void Zoltan2::GridHash< scalar_t, part_t >::insertToHash ( ) [inline]

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

Definition at line 630 of file Zoltan2_CoordinatePartitioningGraph.hpp.

template<typename scalar_t, typename part_t>
void Zoltan2::GridHash< scalar_t, part_t >::getMinMaxBoundaries ( ) [inline]

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

Definition at line 664 of file Zoltan2_CoordinatePartitioningGraph.hpp.


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