Zoltan2
Loading...
Searching...
No Matches
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, z2TestGOSparseMatrix_t
 
typedef Tpetra::Vector< z2TestScalar, z2TestLO, z2TestGOVector
 
typedef Vector::node_type Node
 
typedef Tpetra::MultiVector< z2TestScalar, z2TestLO, z2TestGO, znode_ttMVector_t
 
typedef Zoltan2::XpetraCrsMatrixAdapter< SparseMatrix_t, tMVector_tSparseMatrixAdapter_t
 
typedef SparseMatrixAdapter_t::part_t part_t
 
typedef Zoltan2::XpetraMultiVectorAdapter< tMVector_tMultiVectorAdapter_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

◆ z2TestLO

typedef zlno_t z2TestLO

Definition at line 61 of file partitioningTree.cpp.

◆ z2TestGO

typedef zgno_t z2TestGO

Definition at line 62 of file partitioningTree.cpp.

◆ z2TestScalar

Definition at line 63 of file partitioningTree.cpp.

◆ SparseMatrix_t

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

Definition at line 65 of file partitioningTree.cpp.

◆ Vector

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

Definition at line 66 of file partitioningTree.cpp.

◆ Node

typedef Vector::node_type Node

Definition at line 67 of file partitioningTree.cpp.

◆ tMVector_t

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

Definition at line 69 of file partitioningTree.cpp.

◆ SparseMatrixAdapter_t

Definition at line 72 of file partitioningTree.cpp.

◆ part_t

Examples
rcb_C.cpp.

Definition at line 74 of file partitioningTree.cpp.

◆ MultiVectorAdapter_t

Definition at line 76 of file partitioningTree.cpp.

Function Documentation

◆ testForRCB()

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.

◆ testForPHG()

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.

◆ testForMJ()

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.

◆ main()

int main ( int  narg,
char **  arg 
)

Definition at line 90 of file partitioningTree.cpp.

◆ validate()

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.

◆ analyze()

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

Definition at line 318 of file partitioningTree.cpp.