Zoltan2
Loading...
Searching...
No Matches
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_tzmap_t
 
typedef Tpetra::CrsMatrix< zscalar_t, zlno_t, zgno_tzmatrix_t
 
typedef Tpetra::CrsGraph< zlno_t, zgno_tzgraph_t
 
typedef Zoltan2::XpetraCrsMatrixAdapter< zmatrix_tmatrixAdapter_t
 
typedef Zoltan2::XpetraCrsGraphAdapter< zgraph_tgraphAdapter_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

◆ zmap_t

typedef Tpetra::Map<zlno_t, zgno_t> zmap_t

Definition at line 62 of file componentMetrics.cpp.

◆ zmatrix_t

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

Definition at line 63 of file componentMetrics.cpp.

◆ zgraph_t

typedef Tpetra::CrsGraph<zlno_t, zgno_t> zgraph_t

Definition at line 64 of file componentMetrics.cpp.

◆ matrixAdapter_t

Definition at line 66 of file componentMetrics.cpp.

◆ graphAdapter_t

Definition at line 67 of file componentMetrics.cpp.

Function Documentation

◆ checkResult()

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.

◆ test_every_third()

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

Definition at line 114 of file componentMetrics.cpp.

◆ test_dist_component()

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

Definition at line 169 of file componentMetrics.cpp.

◆ test_one_proc()

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

Definition at line 224 of file componentMetrics.cpp.

◆ test_no_graph()

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

Definition at line 296 of file componentMetrics.cpp.

◆ main()

int main ( int  narg,
char **  arg 
)

Definition at line 350 of file componentMetrics.cpp.