Zoltan2
Loading...
Searching...
No Matches
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 90 of file Zoltan2_AlgMultiJagged.hpp.

Constructor & Destructor Documentation

◆ uMultiSortItem() [1/2]

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

Definition at line 100 of file Zoltan2_AlgMultiJagged.hpp.

◆ uMultiSortItem() [2/2]

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

Definition at line 108 of file Zoltan2_AlgMultiJagged.hpp.

◆ ~uMultiSortItem()

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

Definition at line 115 of file Zoltan2_AlgMultiJagged.hpp.

Member Function Documentation

◆ set()

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

Definition at line 118 of file Zoltan2_AlgMultiJagged.hpp.

◆ operator<()

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 124 of file Zoltan2_AlgMultiJagged.hpp.

Member Data Documentation

◆ index

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

Definition at line 95 of file Zoltan2_AlgMultiJagged.hpp.

◆ count

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

Definition at line 96 of file Zoltan2_AlgMultiJagged.hpp.

◆ val

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

Definition at line 97 of file Zoltan2_AlgMultiJagged.hpp.

◆ epsilon

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

Definition at line 98 of file Zoltan2_AlgMultiJagged.hpp.


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