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

A helper class containing array representation of coordinate linked lists. More...

#include <Zoltan2_AlgPQJagged.hpp>

Public Member Functions

 pqJagged_PartVertices ()
 
void set (lno_t *linkedList_, lno_t *partBegins_, lno_t *partEnds_)
 The memory is provided to class via set function. More...
 
void inserToPart (partId_t partNo, lno_t coordinateIndex)
 Inserting a coordinate to a particular part. Since, class does not have the size information, it is user's responsibility to provide indices for partNo and coordinateIndex that are in the range. More...
 
lno_t * getLinkedList ()
 linkedList getter function. More...
 
lno_t * getPartBegins ()
 partBegins getter function. More...
 
lno_t * getPartEnds ()
 partEnds getter function. More...
 

Detailed Description

template<typename lno_t, typename partId_t>
class Zoltan2::pqJagged_PartVertices< lno_t, partId_t >

A helper class containing array representation of coordinate linked lists.

Definition at line 281 of file Zoltan2_AlgPQJagged.hpp.

Constructor & Destructor Documentation

template<typename lno_t , typename partId_t >
Zoltan2::pqJagged_PartVertices< lno_t, partId_t >::pqJagged_PartVertices ( )
inline

Definition at line 289 of file Zoltan2_AlgPQJagged.hpp.

Member Function Documentation

template<typename lno_t , typename partId_t >
void Zoltan2::pqJagged_PartVertices< lno_t, partId_t >::set ( lno_t *  linkedList_,
lno_t *  partBegins_,
lno_t *  partEnds_ 
)
inline

The memory is provided to class via set function.

Parameters
linkedList_is the array with size as the number of coordinates. Assumes all array is filled -1's. Each element of array points to the next element of the array in the linked list.
partBegins_is the array with size as the number of parts to be divided in current coordinate dimension. Assumes that array is filled with -1's. Holds the beginning of each part.
partEnds_is the array with size as the number of parts to be divided in current coordinate dimension. Assumes that array is filled with -1's. Holds the end coordinate of each part.

Definition at line 300 of file Zoltan2_AlgPQJagged.hpp.

template<typename lno_t , typename partId_t >
void Zoltan2::pqJagged_PartVertices< lno_t, partId_t >::inserToPart ( partId_t  partNo,
lno_t  coordinateIndex 
)
inline

Inserting a coordinate to a particular part. Since, class does not have the size information, it is user's responsibility to provide indices for partNo and coordinateIndex that are in the range.

Parameters
partNois the part number that the coordinate is inserted.
coordinateIndexis index of coordinate to be inserted.

Definition at line 313 of file Zoltan2_AlgPQJagged.hpp.

template<typename lno_t , typename partId_t >
lno_t* Zoltan2::pqJagged_PartVertices< lno_t, partId_t >::getLinkedList ( )
inline

linkedList getter function.

Definition at line 332 of file Zoltan2_AlgPQJagged.hpp.

template<typename lno_t , typename partId_t >
lno_t* Zoltan2::pqJagged_PartVertices< lno_t, partId_t >::getPartBegins ( )
inline

partBegins getter function.

Definition at line 337 of file Zoltan2_AlgPQJagged.hpp.

template<typename lno_t , typename partId_t >
lno_t* Zoltan2::pqJagged_PartVertices< lno_t, partId_t >::getPartEnds ( )
inline

partEnds getter function.

Definition at line 341 of file Zoltan2_AlgPQJagged.hpp.


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