Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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_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.

Typedefs

typedef Tpetra::Vector
< zscalar_t, zlno_t, zgno_t,
znode_t
tvector_t
 
typedef Xpetra::Vector
< zscalar_t, zlno_t, zgno_t,
znode_t
xvector_t
 

Functions

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 narg, char *arg[])
 

Detailed Description

Test of Zoltan2::XpetraMultiVectorAdapter class with vector input.

Todo:
add test with weights

Definition in file XpetraVectorInput.cpp.

Typedef Documentation

Definition at line 68 of file XpetraVectorInput.cpp.

Definition at line 69 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 71 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 91 of file XpetraVectorInput.cpp.

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

Definition at line 154 of file XpetraVectorInput.cpp.