Zoltan2
Typedefs | Functions
GraphModel.cpp File Reference
#include <Zoltan2_GraphModel.hpp>
#include <Zoltan2_XpetraCrsMatrixAdapter.hpp>
#include <Zoltan2_XpetraCrsGraphAdapter.hpp>
#include <Zoltan2_BasicVectorAdapter.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_InputTraits.hpp>
#include <string>
#include <vector>
#include <iostream>
#include <bitset>
#include <Teuchos_Comm.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_ArrayView.hpp>
Include dependency graph for GraphModel.cpp:

Go to the source code of this file.

Typedefs

typedef
Zoltan2::BasicUserTypes
< scalar_t, gno_t, lno_t,
gno_t
simpleUser_t
typedef Tpetra::CrsMatrix
< scalar_t, lno_t, gno_t,
node_t
tcrsMatrix_t
typedef Tpetra::CrsGraph
< lno_t, gno_t, node_t
tcrsGraph_t
typedef Tpetra::Map< lno_t,
gno_t, node_t
tmap_t
typedef Zoltan2::StridedData
< lno_t, scalar_t
input_t
typedef
Zoltan2::BasicVectorAdapter
< simpleUser_t
simpleVAdapter_t
typedef Zoltan2::MatrixAdapter
< tcrsMatrix_t, simpleUser_t
baseMAdapter_t
typedef Zoltan2::GraphAdapter
< tcrsGraph_t, simpleUser_t
baseGAdapter_t
typedef
Zoltan2::XpetraCrsMatrixAdapter
< tcrsMatrix_t, simpleUser_t
xMAdapter_t
typedef
Zoltan2::XpetraCrsGraphAdapter
< tcrsGraph_t, simpleUser_t
xGAdapter_t

Functions

void printGraph (lno_t nrows, const gno_t *v, const lno_t *elid, const gno_t *egid, const int *owner, const lno_t *idx, const RCP< const Comm< int > > &comm)
template<typename BaseAdapter , typename Adapter , typename MatrixOrGraph >
void testAdapter (RCP< const MatrixOrGraph > &M, RCP< const Tpetra::CrsGraph< lno_t, gno_t > > &Mgraph, const RCP< const Comm< int > > &comm, bool idsAreConsecutive, int nVtxWeights, int nEdgeWeights, int nnzWgtIdx, int coordDim, bool consecutiveIdsRequested, bool removeSelfEdges)
void testGraphModel (string fname, gno_t xdim, gno_t ydim, gno_t zdim, const RCP< const Comm< int > > &comm, int nVtxWeights, int nnzWgtIdx, int coordDim, bool consecutiveIdsRequested, bool removeSelfEdges)
int main (int argc, char *argv[])

Typedef Documentation

Definition at line 81 of file GraphModel.cpp.

typedef Tpetra::CrsMatrix<scalar_t, lno_t, gno_t, node_t> tcrsMatrix_t

Definition at line 83 of file GraphModel.cpp.

typedef Tpetra::CrsGraph<lno_t, gno_t, node_t> tcrsGraph_t

Definition at line 84 of file GraphModel.cpp.

typedef Tpetra::Map<lno_t, gno_t, node_t> tmap_t

Definition at line 85 of file GraphModel.cpp.

Definition at line 87 of file GraphModel.cpp.

Definition at line 89 of file GraphModel.cpp.

Definition at line 91 of file GraphModel.cpp.

Definition at line 92 of file GraphModel.cpp.

Definition at line 94 of file GraphModel.cpp.

Definition at line 95 of file GraphModel.cpp.


Function Documentation

void printGraph ( lno_t  nrows,
const gno_t v,
const lno_t elid,
const gno_t egid,
const int *  owner,
const lno_t idx,
const RCP< const Comm< int > > &  comm 
)

Definition at line 101 of file GraphModel.cpp.

template<typename BaseAdapter , typename Adapter , typename MatrixOrGraph >
void testAdapter ( RCP< const MatrixOrGraph > &  M,
RCP< const Tpetra::CrsGraph< lno_t, gno_t > > &  Mgraph,
const RCP< const Comm< int > > &  comm,
bool  idsAreConsecutive,
int  nVtxWeights,
int  nEdgeWeights,
int  nnzWgtIdx,
int  coordDim,
bool  consecutiveIdsRequested,
bool  removeSelfEdges 
)

Definition at line 153 of file GraphModel.cpp.

void testGraphModel ( string  fname,
gno_t  xdim,
gno_t  ydim,
gno_t  zdim,
const RCP< const Comm< int > > &  comm,
int  nVtxWeights,
int  nnzWgtIdx,
int  coordDim,
bool  consecutiveIdsRequested,
bool  removeSelfEdges 
)

Definition at line 559 of file GraphModel.cpp.

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

Definition at line 666 of file GraphModel.cpp.