Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
componentMetrics.cpp File Reference
#include <Zoltan2_componentMetrics.hpp>
#include <Zoltan2_XpetraCrsMatrixAdapter.hpp>
#include <Zoltan2_XpetraCrsGraphAdapter.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <iostream>
#include <Teuchos_RCP.hpp>
#include <Tpetra_CrsMatrix.hpp>
#include <MatrixMarket_Tpetra.hpp>
Include dependency graph for componentMetrics.cpp:

Go to the source code of this file.

Typedefs

typedef Tpetra::Map< zlno_t,
zgno_t
zmap_t
 
typedef Tpetra::CrsMatrix
< zscalar_t, zlno_t, zgno_t
zmatrix_t
 
typedef Tpetra::CrsGraph
< zlno_t, zgno_t
zgraph_t
 
typedef
Zoltan2::XpetraCrsMatrixAdapter
< zmatrix_t
matrixAdapter_t
 
typedef
Zoltan2::XpetraCrsGraphAdapter
< zgraph_t
graphAdapter_t
 

Functions

template<typename CC_T >
int checkResult (std::string &name, CC_T cc, size_t nccAnswer, size_t maxAnswer, size_t minAnswer, double avgAnswer)
 
int test_every_third (Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 
int test_dist_component (Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 
int test_one_proc (Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 
int test_no_graph (Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 
int main (int narg, char **arg)
 

Typedef Documentation

typedef Tpetra::Map<zlno_t, zgno_t> zmap_t

Definition at line 27 of file componentMetrics.cpp.

typedef Tpetra::CrsMatrix<zscalar_t, zlno_t, zgno_t> zmatrix_t

Definition at line 28 of file componentMetrics.cpp.

typedef Tpetra::CrsGraph<zlno_t, zgno_t> zgraph_t

Definition at line 29 of file componentMetrics.cpp.

Definition at line 31 of file componentMetrics.cpp.

Definition at line 32 of file componentMetrics.cpp.

Function Documentation

template<typename CC_T >
int checkResult ( std::string &  name,
CC_T  cc,
size_t  nccAnswer,
size_t  maxAnswer,
size_t  minAnswer,
double  avgAnswer 
)

Definition at line 36 of file componentMetrics.cpp.

int test_every_third ( Teuchos::RCP< const Teuchos::Comm< int > > &  comm)

Definition at line 79 of file componentMetrics.cpp.

int test_dist_component ( Teuchos::RCP< const Teuchos::Comm< int > > &  comm)

Definition at line 134 of file componentMetrics.cpp.

int test_one_proc ( Teuchos::RCP< const Teuchos::Comm< int > > &  comm)

Definition at line 189 of file componentMetrics.cpp.

int test_no_graph ( Teuchos::RCP< const Teuchos::Comm< int > > &  comm)

Definition at line 261 of file componentMetrics.cpp.

int main ( int  narg,
char **  arg 
)

Definition at line 315 of file componentMetrics.cpp.