List of all members.
Public Member Functions
|Teuchos::RCP< Epetra_CrsGraph >||compute (Epetra_CrsGraph &B, int nbrr, std::vector< int > &r, std::vector< double > &weights)|
|Constructs an adjacency graph representing the block connectivity of the input graph, where |
Definition at line 49 of file EpetraExt_BlockAdjacencyGraph.h.
|Teuchos::RCP< Epetra_CrsGraph > EpetraExt::BlockAdjacencyGraph::compute||(||Epetra_CrsGraph &||B,|
|std::vector< int > &||r,|
|std::vector< double > &||weights|
Constructs an adjacency graph representing the block connectivity of the input graph, where
nbrr is the number of block rows in
r contains the row index where each block begins.
A reference-counted pointer to an Epetra_CrsGraph that has
nbrr rows is returned as well as the vector of
weights. This vector is of length
nbrr returns some weighting on the block adjacency graph that can be used to balance the original graph
B. Right now, that weighting is just the number of rows in each block.