Zoltan2 Version of the Day
Public Member Functions
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>

List of all members.

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.
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.
lno_tgetLinkedList ()
 linkedList getter function.
lno_tgetPartBegins ()
 partBegins getter function.
lno_tgetPartEnds ()
 partEnds getter function.

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 229 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 237 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 248 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 261 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 280 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 285 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 289 of file Zoltan2_AlgPQJagged.hpp.


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