Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Classes | Namespaces | Enumerations | Functions | Variables
cijk_partition_zoltan.cpp File Reference
#include "Stokhos_Epetra.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_ParameterList.hpp"
#include "Teuchos_toString.hpp"
#include <fstream>
#include <iostream>
#include "zoltan.h"
Include dependency graph for cijk_partition_zoltan.cpp:

Go to the source code of this file.

Classes

struct  TensorData
 

Namespaces

 HG_1D_Flat_J
 

Enumerations

enum  ProductBasisType {
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK,
  COMPLETE, TENSOR, TOTAL, SMOLYAK
}
 
enum  OrderingType {
  TOTAL_ORDERING, LEXICOGRAPHIC_ORDERING, TOTAL_ORDERING, LEXICOGRAPHIC_ORDERING,
  TOTAL_ORDERING, LEXICOGRAPHIC_ORDERING, TOTAL_ORDERING, LEXICOGRAPHIC_ORDERING,
  TOTAL_ORDERING, LEXICOGRAPHIC_ORDERING, TOTAL_ORDERING, LEXICOGRAPHIC_ORDERING,
  TOTAL_ORDERING, LEXICOGRAPHIC_ORDERING, MORTON_Z_ORDERING, TOTAL_ORDERING,
  LEXICOGRAPHIC_ORDERING, MORTON_Z_ORDERING
}
 
enum  PartitioningType {
  RCB, HG_MATRIX, RCB, HG_FLAT_J,
  RCB, HG_FLAT_J
}
 

Functions

int HG_1D_Flat_J::get_number_of_vertices (void *data, int *ierr)
 
void HG_1D_Flat_J::get_vertex_list (void *data, int sizeGID, int sizeLID, ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID, int wgt_dim, float *obj_wgts, int *ierr)
 
void HG_1D_Flat_J::get_hypergraph_size (void *data, int *num_lists, int *num_nonzeroes, int *format, int *ierr)
 
void HG_1D_Flat_J::get_hypergraph (void *data, int sizeGID, int num_edges, int num_nonzeroes, int format, ZOLTAN_ID_PTR edgeGID, int *vtxPtr, ZOLTAN_ID_PTR vtxGID, int *ierr)
 
int main (int argc, char **argv)
 

Variables

const int num_growth_types = 2
 
const Stokhos::GrowthPolicy growth_type_values []
 
const char * growth_type_names [] = { "slow", "moderate" }
 
const int num_prod_basis_types = 4
 
const ProductBasisType prod_basis_type_values []
 
const char * prod_basis_type_names []
 
const int num_ordering_types = 2
 
const OrderingType ordering_type_values []
 
const char * ordering_type_names []
 
const int num_partitioning_types = 2
 
const PartitioningType partitioning_type_values []
 
const char * partitioning_type_names []
 

Enumeration Type Documentation

◆ ProductBasisType

Enumerator
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 
COMPLETE 
TENSOR 
TOTAL 
SMOLYAK 

Definition at line 61 of file cijk_partition_zoltan.cpp.

◆ OrderingType

Enumerator
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
MORTON_Z_ORDERING 
TOTAL_ORDERING 
LEXICOGRAPHIC_ORDERING 
MORTON_Z_ORDERING 

Definition at line 69 of file cijk_partition_zoltan.cpp.

◆ PartitioningType

Enumerator
RCB 
HG_MATRIX 
RCB 
HG_FLAT_J 
RCB 
HG_FLAT_J 

Definition at line 77 of file cijk_partition_zoltan.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 182 of file cijk_partition_zoltan.cpp.

Variable Documentation

◆ num_growth_types

const int num_growth_types = 2

Definition at line 55 of file cijk_partition_zoltan.cpp.

◆ growth_type_values

const Stokhos::GrowthPolicy growth_type_values[]

◆ growth_type_names

const char* growth_type_names[] = { "slow", "moderate" }

Definition at line 58 of file cijk_partition_zoltan.cpp.

◆ num_prod_basis_types

const int num_prod_basis_types = 4

Definition at line 62 of file cijk_partition_zoltan.cpp.

◆ prod_basis_type_values

const ProductBasisType prod_basis_type_values[]

◆ prod_basis_type_names

const char* prod_basis_type_names[]
Initial value:
= {
"complete", "tensor", "total", "smolyak" }

Definition at line 65 of file cijk_partition_zoltan.cpp.

◆ num_ordering_types

const int num_ordering_types = 2

Definition at line 70 of file cijk_partition_zoltan.cpp.

◆ ordering_type_values

const OrderingType ordering_type_values[]

◆ ordering_type_names

const char* ordering_type_names[]
Initial value:
= {
"total", "lexicographic" }

Definition at line 73 of file cijk_partition_zoltan.cpp.

◆ num_partitioning_types

const int num_partitioning_types = 2

Definition at line 78 of file cijk_partition_zoltan.cpp.

◆ partitioning_type_values

const PartitioningType partitioning_type_values[]
Initial value:

Definition at line 79 of file cijk_partition_zoltan.cpp.

◆ partitioning_type_names

const char* partitioning_type_names[]
Initial value:
= {
"rcb", "hg_flat_j" }

Definition at line 81 of file cijk_partition_zoltan.cpp.