Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Typedefs | Functions
XpetraCrsMatrixInput.cpp File Reference

Test of Zoltan2::XpetraCrsMatrixAdapter class. More...

#include <string>
#include <Zoltan2_XpetraCrsMatrixAdapter.hpp>
#include <Zoltan2_InputTraits.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_RCP.hpp>
#include <Teuchos_Comm.hpp>
#include <Teuchos_CommHelpers.hpp>
Include dependency graph for XpetraCrsMatrixInput.cpp:

Go to the source code of this file.

Typedefs

typedef Tpetra::CrsMatrix
< zscalar_t, zlno_t, zgno_t,
znode_t
tmatrix_t
 
typedef Xpetra::CrsMatrix
< zscalar_t, zlno_t, zgno_t,
znode_t
xmatrix_t
 

Functions

template<typename offset_t >
void printMatrix (RCP< const Comm< int > > &comm, zlno_t nrows, const zgno_t *rowIds, const offset_t *offsets, const zgno_t *colIds)
 
template<typename User >
int verifyInputAdapter (Zoltan2::XpetraCrsMatrixAdapter< User > &ia, tmatrix_t &M)
 
int main (int narg, char *arg[])
 

Detailed Description

Test of Zoltan2::XpetraCrsMatrixAdapter class.

Todo:
test with geometric row coordinates.

Definition in file XpetraCrsMatrixInput.cpp.

Typedef Documentation

typedef Tpetra::CrsMatrix<zscalar_t, zlno_t, zgno_t, znode_t> tmatrix_t

Definition at line 69 of file XpetraCrsMatrixInput.cpp.

typedef Xpetra::CrsMatrix<zscalar_t, zlno_t, zgno_t, znode_t> xmatrix_t

Definition at line 70 of file XpetraCrsMatrixInput.cpp.

Function Documentation

template<typename offset_t >
void printMatrix ( RCP< const Comm< int > > &  comm,
zlno_t  nrows,
const zgno_t rowIds,
const offset_t *  offsets,
const zgno_t colIds 
)

Definition at line 73 of file XpetraCrsMatrixInput.cpp.

template<typename User >
int verifyInputAdapter ( Zoltan2::XpetraCrsMatrixAdapter< User > &  ia,
tmatrix_t M 
)

Definition at line 97 of file XpetraCrsMatrixInput.cpp.

int main ( int  narg,
char *  arg[] 
)

Definition at line 140 of file XpetraCrsMatrixInput.cpp.