Zoltan2
|
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>
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[]) |
Test of Zoltan2::TpetraCrsMatrixAdapter class.
Definition in file TpetraCrsMatrixInput.cpp.
using ztcrsmatrix_t = Tpetra::CrsMatrix<zscalar_t, zlno_t, zgno_t, znode_t> |
Definition at line 37 of file TpetraCrsMatrixInput.cpp.
using node_t = typename Zoltan2::InputTraits<ztcrsmatrix_t>::node_t |
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.
void TestMatrixIds | ( | adapter_t & | ia, |
matrix_t & | matrix | ||
) |
Definition at line 47 of file TpetraCrsMatrixInput.cpp.
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.