Helper class for adding up matrix entries on border. More...
#include <dumux/linear/amgparallelhelpers.hh>
Helper class for adding up matrix entries on border.
GridView | The grid view to work on |
AmgTraits | traits class |
Classes | |
struct | MatEntry |
Local matrix blocks associated with the global id set. More... | |
class | MatEntryExchange |
A DataHandle class to exchange matrix entries. More... | |
class | MatPatternExchange |
A DataHandle class to exchange matrix sparsity patterns. More... | |
Public Member Functions | |
EntityExchanger (const GridView &gridView, const DofMapper &mapper) | |
Constructor. Sets up the local to global relations. More... | |
void | getExtendedMatrix (Matrix &A, const ParallelISTLHelper< GridView, AmgTraits > &helper) |
communicates values for the sparsity pattern of the new matrix. More... | |
void | sumEntries (Matrix &A) |
Sums up the entries corresponding to border vertices. More... | |
void | getExtendedMatrix (Matrix &A) const |
Extends the sparsity pattern of the discretization matrix for AMG. More... | |
|
inline |
Constructor. Sets up the local to global relations.
[in] | gridView | The gridView on which we are operating |
[in] | mapper | The local dof mapper |
void Dumux::EntityExchanger< GridView, AmgTraits >::getExtendedMatrix | ( | Matrix & | A | ) | const |
Extends the sparsity pattern of the discretization matrix for AMG.
A | A reference to the matrix to change. |
|
inline |
communicates values for the sparsity pattern of the new matrix.
A | Matrix to operate on. |
helper | ParallelelISTLHelper. |
|
inline |
Sums up the entries corresponding to border vertices.
A | Matrix to operate on. |