Typedefs | Functions
XpetraVectorInput.cpp File Reference

Test of Zoltan2::XpetraMultiVectorAdapter class with vector input. More...

#include <string>
#include <Zoltan2_XpetraMultiVectorAdapter.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 XpetraVectorInput.cpp:

Go to the source code of this file.


typedef UserInputForTests uinput_t
typedef Tpetra::Vector
< zscalar_t, zlno_t, zgno_t,
typedef Xpetra::Vector
< zscalar_t, zlno_t, zgno_t,
typedef Epetra_Vector evector_t


void printVector (RCP< const Comm< int > > &comm, zlno_t vlen, const zgno_t *vtxIds, const zscalar_t *vals)
template<typename User >
int verifyInputAdapter (Zoltan2::XpetraMultiVectorAdapter< User > &ia, tvector_t &vector, int wdim, zscalar_t **weights, int *strides)
int main (int argc, char *argv[])

Detailed Description

Test of Zoltan2::XpetraMultiVectorAdapter class with vector input.

add test with weights

Definition in file XpetraVectorInput.cpp.

Typedef Documentation

Definition at line 71 of file XpetraVectorInput.cpp.

typedef Tpetra::Vector<zscalar_t, zlno_t, zgno_t, znode_t> tvector_t

Definition at line 72 of file XpetraVectorInput.cpp.

typedef Xpetra::Vector<zscalar_t, zlno_t, zgno_t, znode_t> xvector_t

Definition at line 73 of file XpetraVectorInput.cpp.

typedef Epetra_Vector evector_t

Definition at line 74 of file XpetraVectorInput.cpp.

Function Documentation

void printVector ( RCP< const Comm< int > > &  comm,
zlno_t  vlen,
const zgno_t vtxIds,
const zscalar_t vals 

Definition at line 76 of file XpetraVectorInput.cpp.

template<typename User >
int verifyInputAdapter ( Zoltan2::XpetraMultiVectorAdapter< User > &  ia,
tvector_t vector,
int  wdim,
zscalar_t **  weights,
int *  strides 

Definition at line 96 of file XpetraVectorInput.cpp.

int main ( int  argc,
char *  argv[] 

Definition at line 158 of file XpetraVectorInput.cpp.