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

Typedefs

typedef UserInputForTests uinput_t
typedef Tpetra::CrsMatrix
< scalar_t, lno_t, gno_t,
node_t
tmatrix_t
typedef Xpetra::CrsMatrix
< scalar_t, lno_t, gno_t,
node_t
xmatrix_t
typedef Epetra_CrsMatrix ematrix_t

Functions

void printMatrix (RCP< const Comm< int > > &comm, lno_t nrows, const gno_t *rowIds, const lno_t *offsets, const gno_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.

Todo:
test with geometric row coordinates.

Definition in file XpetraCrsMatrixInput.cpp.


Typedef Documentation

Definition at line 72 of file XpetraCrsMatrixInput.cpp.

typedef Tpetra::CrsMatrix<scalar_t, lno_t, gno_t, node_t> tmatrix_t

Definition at line 73 of file XpetraCrsMatrixInput.cpp.

typedef Xpetra::CrsMatrix<scalar_t, lno_t, gno_t, node_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,
lno_t  nrows,
const gno_t rowIds,
const lno_t offsets,
const gno_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.