Zoltan2
Typedefs | Functions
XpetraCrsGraphInput.cpp File Reference

Test of Zoltan2::XpetraCrsGraphAdapter class. More...

#include <string>
#include <Zoltan2_XpetraCrsGraphAdapter.hpp>
#include <Zoltan2_PartitioningSolution.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 XpetraCrsGraphInput.cpp:

Go to the source code of this file.

Typedefs

typedef UserInputForTests uinput_t
typedef Tpetra::CrsGraph
< zlno_t, zgno_t, znode_t
tgraph_t
typedef Xpetra::CrsGraph
< zlno_t, zgno_t, znode_t
xgraph_t
typedef Epetra_CrsGraph egraph_t

Functions

void printGraph (RCP< const Comm< int > > &comm, zlno_t nvtx, const zgno_t *vtxIds, const zlno_t *offsets, const zgno_t *edgeIds)
template<typename User >
int verifyInputAdapter (Zoltan2::XpetraCrsGraphAdapter< User > &ia, tgraph_t &graph)
int main (int argc, char *argv[])

Detailed Description

Test of Zoltan2::XpetraCrsGraphAdapter class.

Todo:
add weights and coordinates

Definition in file XpetraCrsGraphInput.cpp.


Typedef Documentation

Definition at line 73 of file XpetraCrsGraphInput.cpp.

typedef Tpetra::CrsGraph<zlno_t, zgno_t, znode_t> tgraph_t

Definition at line 74 of file XpetraCrsGraphInput.cpp.

typedef Xpetra::CrsGraph<zlno_t, zgno_t, znode_t> xgraph_t

Definition at line 75 of file XpetraCrsGraphInput.cpp.

typedef Epetra_CrsGraph egraph_t

Definition at line 76 of file XpetraCrsGraphInput.cpp.


Function Documentation

void printGraph ( RCP< const Comm< int > > &  comm,
zlno_t  nvtx,
const zgno_t vtxIds,
const zlno_t offsets,
const zgno_t edgeIds 
)

Definition at line 78 of file XpetraCrsGraphInput.cpp.

template<typename User >
int verifyInputAdapter ( Zoltan2::XpetraCrsGraphAdapter< User > &  ia,
tgraph_t graph 
)

Definition at line 102 of file XpetraCrsGraphInput.cpp.

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

Definition at line 145 of file XpetraCrsGraphInput.cpp.