Dune Core Modules (unstable)

Dune::CommMatrixRow< M, I > Struct Template Reference

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. More...
 
 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. More...
 

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.
 

Detailed Description

template<class M, class I>
struct Dune::CommMatrixRow< M, I >

Utility class for comunicating the matrix entries.

Template Parameters
MThe type of the matrix.
IThe type of the ParallelIndexSet.

Constructor & Destructor Documentation

◆ CommMatrixRow()

template<class M , class I >
Dune::CommMatrixRow< M, I >::CommMatrixRow ( M &  m_,
const Dune::GlobalLookupIndexSet< I > &  idxset_,
const I &  aggidxset_ 
)
inline

Constructor.

Parameters
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.

Member Function Documentation

◆ setOverlapRowsToDirichlet()

template<class M , class I >
void Dune::CommMatrixRow< M, I >::setOverlapRowsToDirichlet ( )
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.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 17, 22:29, 2024)