Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
partitioningTree.cpp File Reference
#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>
Include dependency graph for partitioningTree.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_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)
 

Typedef Documentation

typedef zlno_t z2TestLO

Definition at line 26 of file partitioningTree.cpp.

typedef zgno_t z2TestGO

Definition at line 27 of file partitioningTree.cpp.

Definition at line 28 of file partitioningTree.cpp.

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

Definition at line 30 of file partitioningTree.cpp.

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

Definition at line 31 of file partitioningTree.cpp.

typedef Vector::node_type Node

Definition at line 32 of file partitioningTree.cpp.

typedef Tpetra::MultiVector<z2TestScalar, z2TestLO, z2TestGO,znode_t> tMVector_t

Definition at line 34 of file partitioningTree.cpp.

Definition at line 37 of file partitioningTree.cpp.

Examples:
rcb_C.cpp.

Definition at line 39 of file partitioningTree.cpp.

Definition at line 41 of file partitioningTree.cpp.

Function Documentation

int testForRCB ( SparseMatrixAdapter_t matAdapter,
int  myrank,
part_t  numparts,
RCP< tMVector_t coords,
RCP< const Teuchos::Comm< int > >  comm 
)

Definition at line 365 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 445 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 528 of file partitioningTree.cpp.

int main ( int  narg,
char **  arg 
)

Definition at line 55 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 204 of file partitioningTree.cpp.

int analyze ( Zoltan2::PartitioningProblem< SparseMatrixAdapter_t > &  problem,
RCP< const Teuchos::Comm< int > >  comm 
)

Definition at line 283 of file partitioningTree.cpp.