Zoltan2 Version of the Day
Public Member Functions
Zoltan2::pqJagged_PartVertices< pq_lno_t, partId_t > Class Template Reference

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

#include <Zoltan2_AlgPQJagged.hpp>

List of all members.

Public Member Functions

 pqJagged_PartVertices ()
void set (pq_lno_t *linkedList_, pq_lno_t *partBegins_, pq_lno_t *partEnds_)
 The memory is provided to class via set function.
void inserToPart (partId_t partNo, pq_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.
pq_lno_t * getLinkedList ()
 linkedList getter function.
pq_lno_t * getPartBegins ()
 partBegins getter function.
pq_lno_t * getPartEnds ()
 partEnds getter function.

Detailed Description

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

A helper class containing array representation of coordinate linked lists.

Definition at line 287 of file Zoltan2_AlgPQJagged.hpp.


Constructor & Destructor Documentation

template<typename pq_lno_t , typename partId_t >
Zoltan2::pqJagged_PartVertices< pq_lno_t, partId_t >::pqJagged_PartVertices ( ) [inline]

Definition at line 295 of file Zoltan2_AlgPQJagged.hpp.


Member Function Documentation

template<typename pq_lno_t , typename partId_t >
void Zoltan2::pqJagged_PartVertices< pq_lno_t, partId_t >::set ( pq_lno_t *  linkedList_,
pq_lno_t *  partBegins_,
pq_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 306 of file Zoltan2_AlgPQJagged.hpp.

template<typename pq_lno_t , typename partId_t >
void Zoltan2::pqJagged_PartVertices< pq_lno_t, partId_t >::inserToPart ( partId_t  partNo,
pq_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 319 of file Zoltan2_AlgPQJagged.hpp.

template<typename pq_lno_t , typename partId_t >
pq_lno_t* Zoltan2::pqJagged_PartVertices< pq_lno_t, partId_t >::getLinkedList ( ) [inline]

linkedList getter function.

Definition at line 338 of file Zoltan2_AlgPQJagged.hpp.

template<typename pq_lno_t , typename partId_t >
pq_lno_t* Zoltan2::pqJagged_PartVertices< pq_lno_t, partId_t >::getPartBegins ( ) [inline]

partBegins getter function.

Definition at line 343 of file Zoltan2_AlgPQJagged.hpp.

template<typename pq_lno_t , typename partId_t >
pq_lno_t* Zoltan2::pqJagged_PartVertices< pq_lno_t, partId_t >::getPartEnds ( ) [inline]

partEnds getter function.

Definition at line 347 of file Zoltan2_AlgPQJagged.hpp.


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