Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
coloring1.cpp File Reference
#include <iostream>
#include <fstream>
#include <limits>
#include <vector>
#include <Teuchos_RCP.hpp>
#include <Teuchos_ParameterList.hpp>
#include <Teuchos_CommandLineProcessor.hpp>
#include <Tpetra_CrsMatrix.hpp>
#include <Tpetra_Vector.hpp>
#include <MatrixMarket_Tpetra.hpp>
#include <Zoltan2_XpetraCrsMatrixAdapter.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_ColoringProblem.hpp>
Include dependency graph for coloring1.cpp:

Go to the source code of this file.

Typedefs

typedef zlno_t z2TestLO
 
typedef zgno_t z2TestGO
 
typedef zscalar_t z2TestScalar
 
typedef Tpetra::CrsMatrix
< z2TestScalar, z2TestLO,
z2TestGO
SparseMatrix
 
typedef Tpetra::Vector
< z2TestScalar, z2TestLO,
z2TestGO
Vector
 
typedef Vector::node_type Node
 
typedef Tpetra::Import
< z2TestLO, z2TestGO
Import
 
typedef
Zoltan2::XpetraCrsMatrixAdapter
< SparseMatrix
SparseMatrixAdapter
 

Functions

int validateColoring (RCP< SparseMatrix > A, int *color)
 
int validateDistributedColoring (RCP< SparseMatrix > A, int *color)
 
int validateDistributedDistance2Coloring (RCP< SparseMatrix > A, int *color)
 
int checkBalance (zlno_t n, int *color)
 
int main (int narg, char **arg)
 

Typedef Documentation

typedef zlno_t z2TestLO

Definition at line 40 of file coloring1.cpp.

typedef zgno_t z2TestGO

Definition at line 41 of file coloring1.cpp.

Definition at line 42 of file coloring1.cpp.

typedef Tpetra::CrsMatrix<z2TestScalar, z2TestLO, z2TestGO> SparseMatrix

Definition at line 44 of file coloring1.cpp.

typedef Tpetra::Vector<z2TestScalar, z2TestLO, z2TestGO> Vector

Definition at line 45 of file coloring1.cpp.

typedef Vector::node_type Node

Definition at line 46 of file coloring1.cpp.

typedef Tpetra::Import<z2TestLO, z2TestGO> Import

Definition at line 48 of file coloring1.cpp.

Definition at line 50 of file coloring1.cpp.

Function Documentation

int validateColoring ( RCP< SparseMatrix A,
int *  color 
)

Definition at line 52 of file coloring1.cpp.

int validateDistributedColoring ( RCP< SparseMatrix A,
int *  color 
)

Definition at line 76 of file coloring1.cpp.

int validateDistributedDistance2Coloring ( RCP< SparseMatrix A,
int *  color 
)

Definition at line 112 of file coloring1.cpp.

int checkBalance ( zlno_t  n,
int *  color 
)

Definition at line 125 of file coloring1.cpp.

int main ( int  narg,
char **  arg 
)
Examples:
block.cpp, kokkosBlock.cpp, and rcb_C.cpp.

Definition at line 164 of file coloring1.cpp.