dune-istl
2.2.1
|
Utility class for comunicating the matrix entries. More...
#include <dune/istl/matrixredistribute.hh>
Public Member Functions | |
CommMatrixRow (M &m_, const Dune::GlobalLookupIndexSet< I > &idxset_, const I &aggidxset_) | |
Constructor. | |
CommMatrixRow (M &m_, const Dune::GlobalLookupIndexSet< I > &idxset_, const I &aggidxset_, std::vector< size_t > &rowsize_) | |
Constructor. | |
void | setOverlapRowsToDirichlet () |
Sets the non-owner rows correctly as Dirichlet boundaries. |
Public Attributes | |
M & | matrix |
The matrix to communicate the values of. | |
const Dune::GlobalLookupIndexSet< I > & | idxset |
Index set for the original matrix. | |
const I & | aggidxset |
Index set for the redistributed matrix. | |
std::vector< size_t > * | rowsize |
row size information for the receiving side. |
Utility class for comunicating the matrix entries.
M | The type of the matrix. |
I | The type of the ParallelIndexSet. |
|
inline |
Constructor.
m_ | The matrix to communicate the values. That is the local original matrix as the source of the communication and the redistributed at the target of the communication. |
idxset_ | The index set for the original matrix. |
aggidxset_ | The index set for the redistributed matrix. |
|
inline |
Constructor.
|
inline |
Sets the non-owner rows correctly as Dirichlet boundaries.
This should be called after the communication.
References Dune::CommMatrixRow< M, I >::aggidxset, and Dune::CommMatrixRow< M, I >::matrix.
const I& Dune::CommMatrixRow< M, I >::aggidxset |
Index set for the redistributed matrix.
Referenced by Dune::MatrixRowGatherScatter< M, I >::scatter(), and Dune::CommMatrixRow< M, I >::setOverlapRowsToDirichlet().
const Dune::GlobalLookupIndexSet<I>& Dune::CommMatrixRow< M, I >::idxset |
Index set for the original matrix.
Referenced by Dune::MatrixRowGatherScatter< M, I >::gather().
M& Dune::CommMatrixRow< M, I >::matrix |
The matrix to communicate the values of.
Referenced by Dune::MatrixRowGatherScatter< M, I >::gather(), Dune::CommPolicy< CommMatrixRow< M, I > >::getSize(), Dune::MatrixRowGatherScatter< M, I >::scatter(), and Dune::CommMatrixRow< M, I >::setOverlapRowsToDirichlet().
std::vector<size_t>* Dune::CommMatrixRow< M, I >::rowsize |
row size information for the receiving side.
Referenced by Dune::CommPolicy< CommMatrixRow< M, I > >::getSize().