Zoltan2
|
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>
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, 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[]) |
Test of Zoltan2::XpetraMultiVectorAdapter.
Definition in file XpetraMultiVectorInput.cpp.
Definition at line 36 of file XpetraMultiVectorInput.cpp.
Definition at line 37 of file XpetraMultiVectorInput.cpp.
int verifyInputAdapter | ( | Zoltan2::XpetraMultiVectorAdapter< User > & | ia, |
tvector_t & | vector, | ||
int | nvec | ||
) |
Definition at line 41 of file XpetraMultiVectorInput.cpp.
int verifyInputAdapter | ( | Zoltan2::XpetraMultiVectorAdapter< User > & | ia, |
tvector_t & | vector, | ||
int | nvec, | ||
std::vector< const zscalar_t * > & | weights, | ||
std::vector< int > & | strides | ||
) |
Definition at line 92 of file XpetraMultiVectorInput.cpp.
void readChacoGraphHeaderInfo | ( | std::ifstream & | fp, |
size_t & | nIDs, | ||
size_t & | nEdges, | ||
int & | nWgts | ||
) |
Definition at line 132 of file XpetraMultiVectorInput.cpp.
int verifyGenerateFiles | ( | Zoltan2::VectorAdapter< User > & | ia, |
const char * | fileprefixInp, | ||
const Teuchos::Comm< int > & | comm | ||
) |
Definition at line 151 of file XpetraMultiVectorInput.cpp.
int main | ( | int | narg, |
char * | arg[] | ||
) |
Definition at line 309 of file XpetraMultiVectorInput.cpp.