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

Test of Zoltan2::TpetraCrsMatrixAdapter class. More...

#include <Zoltan2_InputTraits.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_TpetraRowMatrixAdapter.hpp>
#include <Zoltan2_TpetraCrsMatrixAdapter.hpp>
#include <Teuchos_Comm.hpp>
#include <Teuchos_CommHelpers.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_RCP.hpp>
#include <cstdlib>
#include <stdexcept>
Include dependency graph for TpetraCrsMatrixInput.cpp:

Go to the source code of this file.

Typedefs

using ztcrsmatrix_t = Tpetra::CrsMatrix< zscalar_t, zlno_t, zgno_t, znode_t >
 
using node_t = typename Zoltan2::InputTraits< ztcrsmatrix_t >::node_t
 
using device_t = typename node_t::device_type
 
using crsAdapter_t = Zoltan2::TpetraCrsMatrixAdapter< ztcrsmatrix_t >
 
using execspace_t = typename crsAdapter_t::ConstWeightsHostView1D::execution_space
 

Functions

template<typename adapter_t , typename matrix_t >
void TestMatrixIds (adapter_t &ia, matrix_t &matrix)
 
template<typename adapter_t , typename matrix_t >
void verifyInputAdapter (adapter_t &ia, matrix_t &matrix)
 
int main (int narg, char *arg[])
 

Detailed Description

Test of Zoltan2::TpetraCrsMatrixAdapter class.

Todo:
test with geometric row coordinates.

Definition in file TpetraCrsMatrixInput.cpp.

Typedef Documentation

using ztcrsmatrix_t = Tpetra::CrsMatrix<zscalar_t, zlno_t, zgno_t, znode_t>

Definition at line 37 of file TpetraCrsMatrixInput.cpp.

Examples:
kokkosBlock.cpp.

Definition at line 38 of file TpetraCrsMatrixInput.cpp.

using device_t = typename node_t::device_type

Definition at line 39 of file TpetraCrsMatrixInput.cpp.

Definition at line 40 of file TpetraCrsMatrixInput.cpp.

using execspace_t = typename crsAdapter_t::ConstWeightsHostView1D::execution_space

Definition at line 42 of file TpetraCrsMatrixInput.cpp.

Function Documentation

template<typename adapter_t , typename matrix_t >
void TestMatrixIds ( adapter_t &  ia,
matrix_t &  matrix 
)

Definition at line 47 of file TpetraCrsMatrixInput.cpp.

template<typename adapter_t , typename matrix_t >
void verifyInputAdapter ( adapter_t &  ia,
matrix_t &  matrix 
)

Definition at line 94 of file TpetraCrsMatrixInput.cpp.

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

Definition at line 177 of file TpetraCrsMatrixInput.cpp.