Zoltan2
|
#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>
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) |
Definition at line 40 of file coloring1.cpp.
Definition at line 41 of file coloring1.cpp.
typedef zscalar_t z2TestScalar |
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.
Definition at line 48 of file coloring1.cpp.
Definition at line 50 of file coloring1.cpp.
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 | ||
) |
Definition at line 164 of file coloring1.cpp.