Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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_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 Tpetra::CrsGraph
< zlno_t, zgno_t, znode_t
tgraph_t
 
typedef Xpetra::CrsGraph
< zlno_t, zgno_t, znode_t
xgraph_t
 

Functions

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

Detailed Description

Test of Zoltan2::XpetraCrsGraphAdapter class.

Todo:
add weights and coordinates

Definition in file XpetraCrsGraphInput.cpp.

Typedef Documentation

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

Definition at line 70 of file XpetraCrsGraphInput.cpp.

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

Definition at line 71 of file XpetraCrsGraphInput.cpp.

Function Documentation

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

Definition at line 74 of file XpetraCrsGraphInput.cpp.

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

Definition at line 98 of file XpetraCrsGraphInput.cpp.

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

Definition at line 143 of file XpetraCrsGraphInput.cpp.