Zoltan2
Public Member Functions | List of all members
Zoltan2::GridHash< scalar_t, part_t > Class Template Reference

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

#include <Zoltan2_CoordinatePartitioningGraph.hpp>

Public Member Functions

 GridHash (const RCP< std::vector< Zoltan2::coordinateModelPartBox< scalar_t, part_t > > > &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

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

GridHash Class, Hashing Class for part boxes.

Definition at line 502 of file Zoltan2_CoordinatePartitioningGraph.hpp.

Constructor & Destructor Documentation

◆ GridHash()

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

GridHash Class, Constructor.

Definition at line 529 of file Zoltan2_CoordinatePartitioningGraph.hpp.

◆ ~GridHash()

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

GridHash Class, Destructor.

Definition at line 574 of file Zoltan2_CoordinatePartitioningGraph.hpp.

Member Function Documentation

◆ fillAdjArrays()

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 583 of file Zoltan2_CoordinatePartitioningGraph.hpp.

◆ getAdjArrays()

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 610 of file Zoltan2_CoordinatePartitioningGraph.hpp.

◆ calculateNeighbors()

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 620 of file Zoltan2_CoordinatePartitioningGraph.hpp.

◆ insertToHash()

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 649 of file Zoltan2_CoordinatePartitioningGraph.hpp.

◆ getMinMaxBoundaries()

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 683 of file Zoltan2_CoordinatePartitioningGraph.hpp.


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