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

Test of Zoltan2::XpetraMultiVectorAdapter. 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 XpetraMultiVectorInput.cpp:

Go to the source code of this file.

Typedefs

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

Functions

template<typename User >
int verifyInputAdapter (Zoltan2::XpetraMultiVectorAdapter< User > &ia, tvector_t &vector, int nvec)
 
template<typename User >
int verifyInputAdapter (Zoltan2::XpetraMultiVectorAdapter< User > &ia, tvector_t &vector, int nvec, std::vector< const zscalar_t * > &weights, std::vector< int > &strides)
 
void readChacoGraphHeaderInfo (std::ifstream &fp, size_t &nIDs, size_t &nEdges, char *code, int &nWgts)
 
template<typename User >
int verifyGenerateFiles (Zoltan2::VectorAdapter< User > &ia, const char *fileprefixInp, const Teuchos::Comm< int > &comm)
 
int main (int narg, char *arg[])
 

Detailed Description

Test of Zoltan2::XpetraMultiVectorAdapter.

Todo:
test with weights

Definition in file XpetraMultiVectorInput.cpp.

Typedef Documentation

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

Definition at line 71 of file XpetraMultiVectorInput.cpp.

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

Definition at line 72 of file XpetraMultiVectorInput.cpp.

Function Documentation

template<typename User >
int verifyInputAdapter ( Zoltan2::XpetraMultiVectorAdapter< User > &  ia,
tvector_t vector,
int  nvec 
)

Definition at line 76 of file XpetraMultiVectorInput.cpp.

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

Definition at line 127 of file XpetraMultiVectorInput.cpp.

void readChacoGraphHeaderInfo ( std::ifstream &  fp,
size_t &  nIDs,
size_t &  nEdges,
char *  code,
int &  nWgts 
)

Definition at line 167 of file XpetraMultiVectorInput.cpp.

template<typename User >
int verifyGenerateFiles ( Zoltan2::VectorAdapter< User > &  ia,
const char *  fileprefixInp,
const Teuchos::Comm< int > &  comm 
)

Definition at line 186 of file XpetraMultiVectorInput.cpp.

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

Definition at line 345 of file XpetraMultiVectorInput.cpp.