Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
Zoltan2::uMultiSortItem< IT, CT, WT > Class Template Reference

Class for sorting items with multiple values. First sorting with respect to val[0], then val[1] then ... val[count-1]. The last tie breaking is done with index values. Used for task mapping partitioning where the points on a cut line needs to be distributed consistently. More...

#include <Zoltan2_AlgMultiJagged.hpp>

Public Member Functions

 uMultiSortItem ()
 
 uMultiSortItem (IT index_, CT count_, WT *vals_)
 
 ~uMultiSortItem ()
 
void set (IT index_, CT count_, WT *vals_)
 
bool operator< (const uMultiSortItem< IT, CT, WT > &other) const
 

Public Attributes

volatile IT index
 
volatile CT count
 
volatile WT * val
 
volatile WT epsilon
 

Detailed Description

template<typename IT, typename CT, typename WT>
class Zoltan2::uMultiSortItem< IT, CT, WT >

Class for sorting items with multiple values. First sorting with respect to val[0], then val[1] then ... val[count-1]. The last tie breaking is done with index values. Used for task mapping partitioning where the points on a cut line needs to be distributed consistently.

Definition at line 125 of file Zoltan2_AlgMultiJagged.hpp.

Constructor & Destructor Documentation

template<typename IT , typename CT , typename WT >
Zoltan2::uMultiSortItem< IT, CT, WT >::uMultiSortItem ( )
inline

Definition at line 135 of file Zoltan2_AlgMultiJagged.hpp.

template<typename IT , typename CT , typename WT >
Zoltan2::uMultiSortItem< IT, CT, WT >::uMultiSortItem ( IT  index_,
CT  count_,
WT *  vals_ 
)
inline

Definition at line 143 of file Zoltan2_AlgMultiJagged.hpp.

template<typename IT , typename CT , typename WT >
Zoltan2::uMultiSortItem< IT, CT, WT >::~uMultiSortItem ( )
inline

Definition at line 150 of file Zoltan2_AlgMultiJagged.hpp.

Member Function Documentation

template<typename IT , typename CT , typename WT >
void Zoltan2::uMultiSortItem< IT, CT, WT >::set ( IT  index_,
CT  count_,
WT *  vals_ 
)
inline

Definition at line 153 of file Zoltan2_AlgMultiJagged.hpp.

template<typename IT , typename CT , typename WT >
bool Zoltan2::uMultiSortItem< IT, CT, WT >::operator< ( const uMultiSortItem< IT, CT, WT > &  other) const
inline

Definition at line 159 of file Zoltan2_AlgMultiJagged.hpp.

Member Data Documentation

template<typename IT , typename CT , typename WT >
volatile IT Zoltan2::uMultiSortItem< IT, CT, WT >::index

Definition at line 130 of file Zoltan2_AlgMultiJagged.hpp.

template<typename IT , typename CT , typename WT >
volatile CT Zoltan2::uMultiSortItem< IT, CT, WT >::count

Definition at line 131 of file Zoltan2_AlgMultiJagged.hpp.

template<typename IT , typename CT , typename WT >
volatile WT* Zoltan2::uMultiSortItem< IT, CT, WT >::val

Definition at line 132 of file Zoltan2_AlgMultiJagged.hpp.

template<typename IT , typename CT , typename WT >
volatile WT Zoltan2::uMultiSortItem< IT, CT, WT >::epsilon

Definition at line 133 of file Zoltan2_AlgMultiJagged.hpp.


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