dune-istl 2.10
|
Utility class to communicate and build the sparsity pattern of a redistributed matrix. More...
#include <dune/istl/matrixredistribute.hh>
Public Types | |
typedef M::size_type | size_type |
typedef Dune::GlobalLookupIndexSet< I > | LookupIndexSet |
Public Member Functions | |
CommMatrixSparsityPattern (const M &m_, const Dune::GlobalLookupIndexSet< I > &idxset_, const I &aggidxset_) | |
Constructor for the original side. | |
CommMatrixSparsityPattern (const M &m_, const Dune::GlobalLookupIndexSet< I > &idxset_, const I &aggidxset_, const std::vector< typename M::size_type > &rowsize_) | |
Constructor for the redistruted side. | |
void | storeSparsityPattern (M &m) |
Creates and stores the sparsity pattern of the redistributed matrix. | |
void | completeSparsityPattern (std::vector< std::set< size_type > > add_sparsity) |
Completes the sparsity pattern of the redistributed matrix with data from copy rows for the novlp case. | |
Public Attributes | |
const M & | matrix |
const Dune::GlobalLookupIndexSet< I > & | idxset |
const I & | aggidxset |
std::vector< std::set< size_type > > | sparsity |
const std::vector< size_type > * | rowsize |
Utility class to communicate and build the sparsity pattern of a redistributed matrix.
M | The type of the matrix that the sparsity pattern is communicated of. |
I | The type of the index set. |
typedef Dune::GlobalLookupIndexSet<I> Dune::CommMatrixSparsityPattern< M, I >::LookupIndexSet |
typedef M::size_type Dune::CommMatrixSparsityPattern< M, I >::size_type |
|
inline |
Constructor for the original side.
m_ | The matrix whose sparsity pattern is communicated. |
idxset_ | The index set corresponding to the local matrix. |
aggidxset_ | The index set corresponding to the redistributed matrix. |
|
inline |
Constructor for the redistruted side.
m_ | The matrix whose sparsity pattern is communicated. |
idxset_ | The index set corresponding to the local matrix. |
aggidxset_ | The index set corresponding to the redistributed matrix. |
rowsize_ | The row size for the redistributed owner rows. |
|
inline |
Completes the sparsity pattern of the redistributed matrix with data from copy rows for the novlp case.
After the pattern communication this function can be used.
add_sparsity | Sparsity pattern from the copy rows. |
|
inline |
Creates and stores the sparsity pattern of the redistributed matrix.
After the pattern is communicated this function can be used.
m | The matrix to build. |
const I& Dune::CommMatrixSparsityPattern< M, I >::aggidxset |
const Dune::GlobalLookupIndexSet<I>& Dune::CommMatrixSparsityPattern< M, I >::idxset |
const M& Dune::CommMatrixSparsityPattern< M, I >::matrix |
const std::vector<size_type>* Dune::CommMatrixSparsityPattern< M, I >::rowsize |
std::vector<std::set<size_type> > Dune::CommMatrixSparsityPattern< M, I >::sparsity |