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
< zscalar_t, zgid_t, zlno_t,
zgno_t
simpleUser_t
typedef Tpetra::CrsMatrix
< zscalar_t, zlno_t, zgno_t,
znode_t
tcrsMatrix_t
typedef Tpetra::CrsGraph
< zlno_t, zgno_t, znode_t
tcrsGraph_t
typedef Tpetra::Map< zlno_t,
zgno_t, znode_t
tmap_t
typedef Zoltan2::StridedData
< zlno_t, zscalar_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 (zlno_t nrows, const zgno_t *v, const zlno_t *elid, const zgno_t *egid, const int *owner, const zlno_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< zlno_t, zgno_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, zgno_t xdim, zgno_t ydim, zgno_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<zscalar_t, zlno_t, zgno_t, znode_t> tcrsMatrix_t

Definition at line 83 of file GraphModel.cpp.

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

Definition at line 84 of file GraphModel.cpp.

typedef Tpetra::Map<zlno_t, zgno_t, znode_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 ( zlno_t  nrows,
const zgno_t v,
const zlno_t elid,
const zgno_t egid,
const int *  owner,
const zlno_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< zlno_t, zgno_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,
zgno_t  xdim,
zgno_t  ydim,
zgno_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.