Zoltan2
|
#include <Zoltan2_PartitioningProblem.hpp>
#include <Zoltan2_XpetraCrsMatrixAdapter.hpp>
#include <Zoltan2_XpetraMultiVectorAdapter.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <iostream>
#include <limits>
#include <Teuchos_ParameterList.hpp>
#include <Teuchos_RCP.hpp>
#include <Teuchos_FancyOStream.hpp>
#include <Teuchos_CommandLineProcessor.hpp>
#include <Tpetra_CrsMatrix.hpp>
#include <Tpetra_Vector.hpp>
#include <MatrixMarket_Tpetra.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_t |
typedef Tpetra::Vector < z2TestScalar, z2TestLO, z2TestGO > | Vector |
typedef Vector::node_type | Node |
typedef Tpetra::MultiVector < z2TestScalar, z2TestLO, z2TestGO, znode_t > | tMVector_t |
typedef Zoltan2::XpetraCrsMatrixAdapter < SparseMatrix_t, tMVector_t > | SparseMatrixAdapter_t |
typedef SparseMatrixAdapter_t::part_t | part_t |
typedef Zoltan2::XpetraMultiVectorAdapter < tMVector_t > | MultiVectorAdapter_t |
Functions | |
int | testForRCB (SparseMatrixAdapter_t &matAdapter, int myrank, part_t numparts, RCP< tMVector_t > coords, RCP< const Teuchos::Comm< int > > comm) |
int | testForPHG (SparseMatrixAdapter_t &matAdapter, int myrank, part_t numparts, RCP< tMVector_t > coords, RCP< const Teuchos::Comm< int > >) |
int | testForMJ (SparseMatrixAdapter_t &matAdapter, int myrank, part_t numparts, RCP< tMVector_t > coords, RCP< const Teuchos::Comm< int > >) |
int | main (int narg, char **arg) |
bool | validate (part_t numTreeVerts, std::vector< part_t > permPartNums, std::vector< part_t > splitRangeBeg, std::vector< part_t > splitRangeEnd, std::vector< part_t > treeVertParents) |
int | analyze (Zoltan2::PartitioningProblem< SparseMatrixAdapter_t > &problem, RCP< const Teuchos::Comm< int > > comm) |
Definition at line 61 of file partitioningTree.cpp.
Definition at line 62 of file partitioningTree.cpp.
typedef zscalar_t z2TestScalar |
Definition at line 63 of file partitioningTree.cpp.
typedef Tpetra::CrsMatrix<z2TestScalar, z2TestLO, z2TestGO> SparseMatrix_t |
Definition at line 65 of file partitioningTree.cpp.
typedef Tpetra::Vector<z2TestScalar, z2TestLO, z2TestGO> Vector |
Definition at line 66 of file partitioningTree.cpp.
typedef Vector::node_type Node |
Definition at line 67 of file partitioningTree.cpp.
typedef Tpetra::MultiVector<z2TestScalar, z2TestLO, z2TestGO,znode_t> tMVector_t |
Definition at line 69 of file partitioningTree.cpp.
Definition at line 72 of file partitioningTree.cpp.
typedef SparseMatrixAdapter_t::part_t part_t |
Definition at line 74 of file partitioningTree.cpp.
Definition at line 76 of file partitioningTree.cpp.
int testForRCB | ( | SparseMatrixAdapter_t & | matAdapter, |
int | myrank, | ||
part_t | numparts, | ||
RCP< tMVector_t > | coords, | ||
RCP< const Teuchos::Comm< int > > | comm | ||
) |
Definition at line 400 of file partitioningTree.cpp.
int testForPHG | ( | SparseMatrixAdapter_t & | matAdapter, |
int | myrank, | ||
part_t | numparts, | ||
RCP< tMVector_t > | coords, | ||
RCP< const Teuchos::Comm< int > > | comm | ||
) |
Definition at line 480 of file partitioningTree.cpp.
int testForMJ | ( | SparseMatrixAdapter_t & | matAdapter, |
int | myrank, | ||
part_t | numparts, | ||
RCP< tMVector_t > | coords, | ||
RCP< const Teuchos::Comm< int > > | comm | ||
) |
Definition at line 563 of file partitioningTree.cpp.
int main | ( | int | narg, |
char ** | arg | ||
) |
Definition at line 90 of file partitioningTree.cpp.
bool validate | ( | part_t | numTreeVerts, |
std::vector< part_t > | permPartNums, | ||
std::vector< part_t > | splitRangeBeg, | ||
std::vector< part_t > | splitRangeEnd, | ||
std::vector< part_t > | treeVertParents | ||
) |
Definition at line 239 of file partitioningTree.cpp.
int analyze | ( | Zoltan2::PartitioningProblem< SparseMatrixAdapter_t > & | problem, |
RCP< const Teuchos::Comm< int > > | comm | ||
) |
Definition at line 318 of file partitioningTree.cpp.