Zoltan2 Version of the Day
Typedefs | Functions
XpetraVectorInput.cpp File Reference

Test of Zoltan2::XpetraVectorInput class. More...

#include <string>
#include <Zoltan2_XpetraVectorInput.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.

Typedefs

typedef UserInputForTests uinput_t
typedef Tpetra::Vector
< scalar_t, lno_t, gno_t,
node_t
tvector_t
typedef Xpetra::Vector
< scalar_t, lno_t, gno_t,
node_t
xvector_t
typedef Epetra_Vector evector_t

Functions

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

Detailed Description

Test of Zoltan2::XpetraVectorInput class.

Todo:
add test with weights

Definition in file XpetraVectorInput.cpp.


Typedef Documentation

Definition at line 71 of file XpetraVectorInput.cpp.

typedef Tpetra::Vector<scalar_t, lno_t, gno_t, node_t> tvector_t

Definition at line 72 of file XpetraVectorInput.cpp.

typedef Xpetra::Vector<scalar_t, lno_t, gno_t, node_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,
lno_t  vlen,
const gno_t vtxIds,
const scalar_t vals 
)

Definition at line 76 of file XpetraVectorInput.cpp.

template<typename User >
int verifyInputAdapter ( Zoltan2::XpetraVectorInput< User > &  ia,
tvector_t vector,
int  wdim,
scalar_t **  weights,
int *  strides 
)

Definition at line 96 of file XpetraVectorInput.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 157 of file XpetraVectorInput.cpp.