|
Zoltan2
Version of the Day
|
#include <Zoltan2_GraphModel.hpp>#include <Zoltan2_XpetraCrsMatrixInput.hpp>#include <Zoltan2_TestHelpers.hpp>#include <string>#include <vector>#include <iostream>#include <bitset>#include <Teuchos_Comm.hpp>#include <Teuchos_DefaultComm.hpp>#include <Teuchos_ArrayView.hpp>
Go to the source code of this file.
Typedefs | |
| typedef Tpetra::CrsMatrix < scalar_t, lno_t, gno_t, node_t > | tcrsMatrix_t |
| typedef Tpetra::Map< lno_t, gno_t, node_t > | tmap_t |
| typedef Zoltan2::StridedData < lno_t, scalar_t > | input_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) |
| void | testMatrixInput (RCP< const Tpetra::CrsMatrix< scalar_t, lno_t, gno_t > > &M, const RCP< const Comm< int > > &comm, bool idsAreConsecutive, int rowWeightDim, int nnzDim, 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 rowWeightDim, int nnzDim, int coordDim, bool consecutiveIdsRequested, bool removeSelfEdges) |
| int | main (int argc, char *argv[]) |
| typedef Tpetra::CrsMatrix<scalar_t, lno_t, gno_t, node_t> tcrsMatrix_t |
Definition at line 78 of file GraphModel.cpp.
| typedef Zoltan2::StridedData<lno_t, scalar_t> input_t |
Definition at line 80 of file GraphModel.cpp.
| 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 85 of file GraphModel.cpp.
| void testMatrixInput | ( | RCP< const Tpetra::CrsMatrix< scalar_t, lno_t, gno_t > > & | M, |
| const RCP< const Comm< int > > & | comm, | ||
| bool | idsAreConsecutive, | ||
| int | rowWeightDim, | ||
| int | nnzDim, | ||
| int | coordDim, | ||
| bool | consecutiveIdsRequested, | ||
| bool | removeSelfEdges | ||
| ) |
Definition at line 134 of file GraphModel.cpp.
| void testGraphModel | ( | string | fname, |
| gno_t | xdim, | ||
| gno_t | ydim, | ||
| gno_t | zdim, | ||
| const RCP< const Comm< int > > & | comm, | ||
| int | rowWeightDim, | ||
| int | nnzDim, | ||
| int | coordDim, | ||
| bool | consecutiveIdsRequested, | ||
| bool | removeSelfEdges | ||
| ) |
Definition at line 493 of file GraphModel.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 586 of file GraphModel.cpp.
1.8.5