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_GlobalMPISession.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.


typedef UserInputForTests uinput_t
typedef Tpetra::CrsMatrix
< zscalar_t, zlno_t, zgno_t,
typedef Xpetra::CrsMatrix
< zscalar_t, zlno_t, zgno_t,
typedef Epetra_CrsMatrix ematrix_t


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

Detailed Description

Test of Zoltan2::XpetraCrsMatrixAdapter class.

test with geometric row coordinates.

Definition in file XpetraCrsMatrixInput.cpp.

Typedef Documentation

Definition at line 72 of file XpetraCrsMatrixInput.cpp.

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

Definition at line 73 of file XpetraCrsMatrixInput.cpp.

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

Definition at line 74 of file XpetraCrsMatrixInput.cpp.

typedef Epetra_CrsMatrix ematrix_t

Definition at line 75 of file XpetraCrsMatrixInput.cpp.

Function Documentation

void printMatrix ( RCP< const Comm< int > > &  comm,
zlno_t  nrows,
const zgno_t rowIds,
const zlno_t offsets,
const zgno_t colIds 

Definition at line 77 of file XpetraCrsMatrixInput.cpp.

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

Definition at line 101 of file XpetraCrsMatrixInput.cpp.

int main ( int  argc,
char *  argv[] 

Definition at line 142 of file XpetraCrsMatrixInput.cpp.