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 (const uMultiSortItem< IT, CT, WT > &other)
 
 ~uMultiSortItem ()
 
void set (IT index_, CT count_, WT *vals_)
 
uMultiSortItem< IT, CT, WT > operator= (const uMultiSortItem< IT, CT, WT > &other)
 
bool operator< (const uMultiSortItem< IT, CT, WT > &other) const
 
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 189 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 200 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 208 of file Zoltan2_AlgMultiJagged.hpp.

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

Definition at line 215 of file Zoltan2_AlgMultiJagged.hpp.

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

Definition at line 222 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 226 of file Zoltan2_AlgMultiJagged.hpp.

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

Definition at line 233 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 240 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 259 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 194 of file Zoltan2_AlgMultiJagged.hpp.

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

Definition at line 195 of file Zoltan2_AlgMultiJagged.hpp.

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

Definition at line 197 of file Zoltan2_AlgMultiJagged.hpp.

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

Definition at line 198 of file Zoltan2_AlgMultiJagged.hpp.


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