Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Namespaces | Macros | Functions
Zoltan2_AlgMultiJagged.hpp File Reference

Contains the Multi-jagged algorthm. More...

#include <Zoltan2_MultiJagged_ReductionOps.hpp>
#include <Zoltan2_CoordinateModel.hpp>
#include <Zoltan2_Parameters.hpp>
#include <Zoltan2_Algorithm.hpp>
#include <Zoltan2_IntegerRangeList.hpp>
#include <Teuchos_StandardParameterEntryValidators.hpp>
#include <Tpetra_Distributor.hpp>
#include <Teuchos_ParameterList.hpp>
#include <Zoltan2_CoordinatePartitioningGraph.hpp>
#include <new>
#include <algorithm>
#include <Zoltan2_Util.hpp>
#include <vector>
#include <Teuchos_Hashtable.hpp>
Include dependency graph for Zoltan2_AlgMultiJagged.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Teuchos::Zoltan2_BoxBoundaries< Ordinal, T >
 Zoltan2_BoxBoundaries is a reduction operation to all reduce the all box boundaries. More...
 
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. More...
 
struct  Zoltan2::uSortItem< IT, WT >
 Sort items for quick sort function. More...
 
struct  Zoltan2::uSignedSortItem< IT, WT, SIGN >
 
class  Zoltan2::AlgMJ< mj_scalar_t, mj_lno_t, mj_gno_t, mj_part_t >
 Multi Jagged coordinate partitioning algorithm. More...
 
class  Zoltan2::Zoltan2_AlgMJ< Adapter >
 Multi Jagged coordinate partitioning algorithm. More...
 

Namespaces

 Teuchos
 
 Zoltan2
 

Macros

#define LEAST_SIGNIFICANCE   0.0001
 
#define SIGNIFICANCE_MUL   1000
 
#define FUTURE_REDUCEALL_CUTOFF   1500000
 
#define MIN_WORK_LAST_DIM   1000
 
#define ZOLTAN2_ABS(x)   ((x) >= 0 ? (x) : -(x))
 
#define imbalanceOf(Wachieved, totalW, expectedRatio)   (Wachieved) / ((totalW) * (expectedRatio)) - 1
 
#define imbalanceOf2(Wachieved, wExpected)   (Wachieved) / (wExpected) - 1
 
#define ZOLTAN2_ALGMULTIJAGGED_SWAP(a, b, temp)   temp=(a);(a)=(b);(b)=temp;
 

Functions

template<typename T >
T * Zoltan2::allocMemory (size_t size)
 Allocates memory for the given size. More...
 
template<typename T >
void Zoltan2::freeArray (T *&array)
 Frees the given array. More...
 
template<class IT , class WT >
void Zoltan2::uqsort (IT n, uSortItem< IT, WT > *arr)
 Quick sort function. Sorts the arr of uSortItems, with respect to increasing vals. More...
 
template<class IT , class WT , class SIGN >
void Zoltan2::uqSignsort (IT n, uSignedSortItem< IT, WT, SIGN > *arr)
 Quick sort function. Sorts the arr of uSignedSortItems, with respect to increasing vals. More...
 

Detailed Description

Contains the Multi-jagged algorthm.

Definition in file Zoltan2_AlgMultiJagged.hpp.

Macro Definition Documentation

#define LEAST_SIGNIFICANCE   0.0001

Definition at line 85 of file Zoltan2_AlgMultiJagged.hpp.

#define SIGNIFICANCE_MUL   1000

Definition at line 86 of file Zoltan2_AlgMultiJagged.hpp.

#define FUTURE_REDUCEALL_CUTOFF   1500000

Definition at line 91 of file Zoltan2_AlgMultiJagged.hpp.

#define MIN_WORK_LAST_DIM   1000

Definition at line 94 of file Zoltan2_AlgMultiJagged.hpp.

#define ZOLTAN2_ABS (   x)    ((x) >= 0 ? (x) : -(x))

Definition at line 99 of file Zoltan2_AlgMultiJagged.hpp.

#define imbalanceOf (   Wachieved,
  totalW,
  expectedRatio 
)    (Wachieved) / ((totalW) * (expectedRatio)) - 1

Definition at line 101 of file Zoltan2_AlgMultiJagged.hpp.

#define imbalanceOf2 (   Wachieved,
  wExpected 
)    (Wachieved) / (wExpected) - 1

Definition at line 103 of file Zoltan2_AlgMultiJagged.hpp.

#define ZOLTAN2_ALGMULTIJAGGED_SWAP (   a,
  b,
  temp 
)    temp=(a);(a)=(b);(b)=temp;

Definition at line 107 of file Zoltan2_AlgMultiJagged.hpp.