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 62 of file componentMetrics.cpp.

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

Definition at line 63 of file componentMetrics.cpp.

typedef Tpetra::CrsGraph<zlno_t, zgno_t> zgraph_t

Definition at line 64 of file componentMetrics.cpp.

Definition at line 66 of file componentMetrics.cpp.

Definition at line 67 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 71 of file componentMetrics.cpp.

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

Definition at line 114 of file componentMetrics.cpp.

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

Definition at line 169 of file componentMetrics.cpp.

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

Definition at line 224 of file componentMetrics.cpp.

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

Definition at line 296 of file componentMetrics.cpp.

int main ( int  narg,
char **  arg 
)

Definition at line 350 of file componentMetrics.cpp.